We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dcc2ba commit f8bea92Copy full SHA for f8bea92
include/siddiqsoft/string2map.hpp
@@ -113,7 +113,7 @@ namespace siddiqsoft::string2map
113
if constexpr (std::is_same_v<T, std::string> && std::is_same_v<D, std::wstring>)
114
{
115
// Insert element.. from string to wstring
116
- resultMap[internal_helpers::n2w(key)] = internal_helpers::n2w(destValue);
+ resultMap[internal_helpers::n2w(key)] = internal_helpers::n2w(value);
117
}
118
else if constexpr (std::is_same_v<T, std::wstring> && std::is_same_v<D, std::string>)
119
0 commit comments