Skip to content

Commit

Permalink
Do not use std::map::at introduced in C++11
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Sep 10, 2018
1 parent dcdebd6 commit 1aa40eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/IceGrid/ServerI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ class ResetPropertiesCB : public IceUtil::Shared
{
assert(_p->first.find("config_") == 0);
const string service = _p->first.substr(7);
if(getPropertyAsInt(_properties.at("config"), "IceBox.UseSharedCommunicator." + service) > 0)
if(getPropertyAsInt(_properties["config"], "IceBox.UseSharedCommunicator." + service) > 0)
{
facet = "IceBox.SharedCommunicator.Properties";
}
Expand Down Expand Up @@ -379,7 +379,7 @@ class ResetPropertiesCB : public IceUtil::Shared
const Ice::ObjectPrx _admin;
const InternalServerDescriptorPtr _desc;
const TraceLevelsPtr _traceLevels;
const PropertyDescriptorSeqDict _properties;
PropertyDescriptorSeqDict _properties;
PropertyDescriptorSeqDict _oldProperties;
PropertyDescriptorSeqDict::const_iterator _p;
};
Expand Down

0 comments on commit 1aa40eb

Please sign in to comment.