From acaf127d19b80498518932f04599a57577fd6d28 Mon Sep 17 00:00:00 2001 From: Russ Webber Date: Fri, 29 Jul 2022 13:05:30 +1000 Subject: [PATCH] fix: required use of template keyword in c++20 Signed-off-by: Russ Webber --- include/xtypes/StringType.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xtypes/StringType.hpp b/include/xtypes/StringType.hpp index 7fe289ef..9407b509 100644 --- a/include/xtypes/StringType.hpp +++ b/include/xtypes/StringType.hpp @@ -109,7 +109,7 @@ class TStringType : public MutableCollectionType virtual void destroy_instance( uint8_t* instance) const override { - reinterpret_cast*>(instance)->std::basic_string::~basic_string(); + reinterpret_cast*>(instance)->std::template basic_string::~basic_string(); } virtual bool compare_instance(