[commit] r2300 - trunk/GME/Core
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Wed Aug 21 16:56:41 CDT 2013
Author: ksmyth
Date: Wed Aug 21 16:56:40 2013
New Revision: 2300
Log:
Detect dup GUIDs in mga open, and reassign them
Modified:
trunk/GME/Core/CoreBinFile.cpp
Modified: trunk/GME/Core/CoreBinFile.cpp
==============================================================================
--- trunk/GME/Core/CoreBinFile.cpp Wed Aug 21 14:40:13 2013 (r2299)
+++ trunk/GME/Core/CoreBinFile.cpp Wed Aug 21 16:56:40 2013 (r2300)
@@ -1179,7 +1179,7 @@
opened_object->second.CreateGuidAttributes( this);
std::pair<std::hash_map<GUID, bool>::iterator, bool> guid_insert = guids.emplace(std::make_pair(guid, true));
- if (guid_insert.second == true)
+ if (guid_insert.second == false)
{
SetNewGuid(this, opened_object->second);
}
More information about the gme-commit
mailing list