Skip to content

Commit

Permalink
LIB-881 - compile-error fix for 'clang50-linux-x86_64 CXX_RT=glibcxx_…
Browse files Browse the repository at this point in the history
…dynamic OS_SDK=ubuntu-16 USE_STL_SYSTEM=yes pic';

ref:d5fd93e174d37a7fc1e33572f74e5234a49ccbe3
  • Loading branch information
dieash committed Aug 9, 2018
1 parent ad270ad commit 52498b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/enum_parser/enum_serialization_runtime/enum_runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ namespace NEnumSerializationRuntime {
}
} else {
for (const TEnumStringPair& it : namesInitializer) {
mapValueToName.emplace(it.Key, it.Name);
mapValueToName.emplace(it.Key, TString(it.Name));
}
for (const TEnumStringPair& it : valuesInitializer) {
mapNameToValue.emplace(it.Name, it.Key);
mapNameToValue.emplace(TString(it.Name), it.Key);
}
}
Names = std::move(mapValueToName);
Expand Down

0 comments on commit 52498b2

Please sign in to comment.