mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Update3 for MSVC10
Fix some const problems.
This commit is contained in:
@ -99,7 +99,10 @@ public:
|
||||
{
|
||||
std::set<OwnedGroup>::iterator it=IFind(grpId);
|
||||
if (it != fGroups.end())
|
||||
(*it).fOwnIt=ownIt;
|
||||
{
|
||||
fGroups.erase(it);
|
||||
fGroups.insert(OwnedGroup(grpId, ownIt));
|
||||
}
|
||||
else
|
||||
{
|
||||
ISetGroupDesc(grpId);
|
||||
|
@ -275,7 +275,7 @@ void plNetObjectDebugger::LogMsgIfMatch(const char* msg) const
|
||||
std::string tmp = msg;
|
||||
hsStrLower((char*)tmp.c_str());
|
||||
std::string objTag="object";
|
||||
char* c=strstr(tmp.c_str(), objTag.c_str());
|
||||
const char* c=strstr(tmp.c_str(), objTag.c_str());
|
||||
if (c && c != tmp.c_str())
|
||||
{
|
||||
c+=objTag.size();
|
||||
|
Reference in New Issue
Block a user