From b192261f574f5b459ee2ae47eddba3e2bc9bacd2 Mon Sep 17 00:00:00 2001 From: Michael Graeb Date: Thu, 21 Nov 2024 11:10:14 -0800 Subject: [PATCH] explicit template instantiation definition --- include/aws/crt/Types.h | 2 ++ source/Types.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/aws/crt/Types.h b/include/aws/crt/Types.h index 10a3fded3..9a27964a7 100644 --- a/include/aws/crt/Types.h +++ b/include/aws/crt/Types.h @@ -23,6 +23,8 @@ struct aws_byte_buf; struct aws_byte_cursor; struct aws_socket_options; +extern template class AWS_CRT_CPP_API std::basic_string, Aws::Crt::StlAllocator>; + namespace Aws { namespace Crt diff --git a/source/Types.cpp b/source/Types.cpp index de2ebf256..48ce0b7d6 100644 --- a/source/Types.cpp +++ b/source/Types.cpp @@ -6,6 +6,8 @@ #include +template class std::basic_string, Aws::Crt::StlAllocator>; + namespace Aws { namespace Crt