Skip to content

Commit

Permalink
fix: required use of template keyword in c++20
Browse files Browse the repository at this point in the history
Signed-off-by: Russ Webber <[email protected]>
  • Loading branch information
russkel committed Jul 29, 2022
1 parent db68001 commit acaf127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/xtypes/StringType.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class TStringType : public MutableCollectionType
virtual void destroy_instance(
uint8_t* instance) const override
{
reinterpret_cast<std::basic_string<CHAR_T>*>(instance)->std::basic_string<CHAR_T>::~basic_string<CHAR_T>();
reinterpret_cast<std::basic_string<CHAR_T>*>(instance)->std::template basic_string<CHAR_T>::~basic_string<CHAR_T>();
}

virtual bool compare_instance(
Expand Down

0 comments on commit acaf127

Please sign in to comment.