Skip to content

Commit f8bea92

Browse files
Fixed typo
1 parent 7dcc2ba commit f8bea92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/siddiqsoft/string2map.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ namespace siddiqsoft::string2map
113113
if constexpr (std::is_same_v<T, std::string> && std::is_same_v<D, std::wstring>)
114114
{
115115
// Insert element.. from string to wstring
116-
resultMap[internal_helpers::n2w(key)] = internal_helpers::n2w(destValue);
116+
resultMap[internal_helpers::n2w(key)] = internal_helpers::n2w(value);
117117
}
118118
else if constexpr (std::is_same_v<T, std::wstring> && std::is_same_v<D, std::string>)
119119
{

0 commit comments

Comments
 (0)