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(