We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be22985 commit 847404aCopy full SHA for 847404a
1 file changed
cpp/include/ittapi_utils.hpp
@@ -82,7 +82,7 @@ inline __itt_string_handle* get_or_create_string_handle(std::wstring_view name)
82
__itt_string_handle* h = create_string_handle(std::wstring(name).c_str());
83
if (h != nullptr)
84
{
85
- cache.emplace(h->strW, h);
+ cache.emplace(static_cast<const wchar_t*>(h->strW), h);
86
}
87
return h;
88
0 commit comments