1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Fix a few issues with more strict modern compilers

This commit is contained in:
2011-04-06 19:44:10 -07:00
parent 53d629bf83
commit ecb7d8b566
4 changed files with 11 additions and 4 deletions

View File

@ -83,7 +83,11 @@ public:
{
std::set<OwnedGroup>::iterator it=IFind(grpId);
if (it != fGroups.end())
(*it).fOwnIt=ownIt;
{
OwnedGroup grp(it->fGroup, it->fOwnIt);
fGroups.erase(it);
fGroups.insert(grp);
}
else
{
ISetGroupDesc(grpId);