Merge "Fix potential race condition."

This commit is contained in:
Christopher Ferris 2019-06-20 15:01:14 +00:00 committed by Gerrit Code Review
commit 61fc364601

View file

@ -300,7 +300,7 @@ MapInfo::~MapInfo() {
std::string MapInfo::GetBuildID() {
uintptr_t id = build_id.load();
if (build_id != 0) {
if (id != 0) {
return *reinterpret_cast<std::string*>(id);
}