diff --git a/src/libs/qtcreatorcdbext/symbolgroupvalue.cpp b/src/libs/qtcreatorcdbext/symbolgroupvalue.cpp index b2ce3d39c70..3ed32b64219 100644 --- a/src/libs/qtcreatorcdbext/symbolgroupvalue.cpp +++ b/src/libs/qtcreatorcdbext/symbolgroupvalue.cpp @@ -928,6 +928,8 @@ static inline void formatMilliSeconds(std::wostream &str, int milliSecs) static const char stdStringTypeC[] = "std::basic_string,std::allocator >"; static const char stdWStringTypeC[] = "std::basic_string,std::allocator >"; +// Compiler option: -Zc:wchar_t-: +static const char stdWStringWCharTypeC[] = "std::basic_string,std::allocator >"; static KnownType knownPODTypeHelper(const std::string &type, std::string::size_type endPos) { @@ -1028,7 +1030,8 @@ static KnownType knownClassTypeHelper(const std::string &type, // STL strings if (!type.compare(pos, endPos - pos, stdStringTypeC)) return KT_StdString; - if (!type.compare(pos, endPos - pos, stdWStringTypeC)) + if (!type.compare(pos, endPos - pos, stdWStringTypeC) + || !type.compare(pos, endPos - pos, stdWStringWCharTypeC)) return KT_StdWString; return KT_Unknown; } // std::sth