Skip to content

Commit 52498b2

Browse files
committedAug 9, 2018
LIB-881 - compile-error fix for 'clang50-linux-x86_64 CXX_RT=glibcxx_dynamic OS_SDK=ubuntu-16 USE_STL_SYSTEM=yes pic';
ref:d5fd93e174d37a7fc1e33572f74e5234a49ccbe3
1 parent ad270ad commit 52498b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tools/enum_parser/enum_serialization_runtime/enum_runtime.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ namespace NEnumSerializationRuntime {
5656
}
5757
} else {
5858
for (const TEnumStringPair& it : namesInitializer) {
59-
mapValueToName.emplace(it.Key, it.Name);
59+
mapValueToName.emplace(it.Key, TString(it.Name));
6060
}
6161
for (const TEnumStringPair& it : valuesInitializer) {
62-
mapNameToValue.emplace(it.Name, it.Key);
62+
mapNameToValue.emplace(TString(it.Name), it.Key);
6363
}
6464
}
6565
Names = std::move(mapValueToName);

0 commit comments

Comments
 (0)
Please sign in to comment.