diff options
Diffstat (limited to 'cpp/src/Ice/PropertiesI.cpp')
-rw-r--r-- | cpp/src/Ice/PropertiesI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/PropertiesI.cpp b/cpp/src/Ice/PropertiesI.cpp index 1f03133ddf3..6570d16e9da 100644 --- a/cpp/src/Ice/PropertiesI.cpp +++ b/cpp/src/Ice/PropertiesI.cpp @@ -16,6 +16,7 @@ #include <Ice/Logger.h> #include <Ice/LoggerUtil.h> #include <Ice/Communicator.h> +#include <fstream> using namespace std; using namespace Ice; @@ -398,7 +399,7 @@ Ice::PropertiesI::load(const std::string& file) else #endif { - IceUtilInternal::ifstream in(file); + ifstream in(IceUtilInternal::streamFilename(file)); if(!in) { FileException ex(__FILE__, __LINE__); |