diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-05-16 19:49:36 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-05-16 19:49:36 +0000 |
commit | 8bc8e92127d938895457312712d9a1e42e006211 (patch) | |
tree | 222be6226f4d59aa0bf436e691430a05dfd6c424 /cpp/src/Ice/PropertiesI.cpp | |
parent | added missing .depend file (diff) | |
download | ice-8bc8e92127d938895457312712d9a1e42e006211.tar.bz2 ice-8bc8e92127d938895457312712d9a1e42e006211.tar.xz ice-8bc8e92127d938895457312712d9a1e42e006211.zip |
Windows (VC60) build fixes
Diffstat (limited to 'cpp/src/Ice/PropertiesI.cpp')
-rw-r--r-- | cpp/src/Ice/PropertiesI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/PropertiesI.cpp b/cpp/src/Ice/PropertiesI.cpp index 7b868d451e8..770f7064b57 100644 --- a/cpp/src/Ice/PropertiesI.cpp +++ b/cpp/src/Ice/PropertiesI.cpp @@ -144,7 +144,7 @@ Ice::PropertiesI::setProperty(const string& key, const string& value) // if(!value.empty()) { - PropertyValue pv = { value, false }; + PropertyValue pv(value, false); map<string, PropertyValue>::const_iterator p = _properties.find(key); if(p != _properties.end()) { @@ -294,7 +294,7 @@ Ice::PropertiesI::PropertiesI(StringSeq& args, const PropertiesPtr& defaults, co string name = *q; replace(name.begin(), name.end(), '\\', '/'); - PropertyValue pv = { name, true }; + PropertyValue pv(name, true); _properties["Ice.ProgramName"] = pv; } } @@ -440,6 +440,6 @@ Ice::PropertiesI::loadConfig() } } - PropertyValue pv = { value, true }; + PropertyValue pv(value, true); _properties["Ice.Config"] = pv; } |