summaryrefslogtreecommitdiff
path: root/cpp/src/slice2confluence/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2confluence/Gen.cpp')
-rw-r--r--cpp/src/slice2confluence/Gen.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/slice2confluence/Gen.cpp b/cpp/src/slice2confluence/Gen.cpp
index 98234547210..a1f05453892 100644
--- a/cpp/src/slice2confluence/Gen.cpp
+++ b/cpp/src/slice2confluence/Gen.cpp
@@ -7,6 +7,7 @@
//
// **********************************************************************
+#include <IceUtil/FileUtil.h>
#include <IceUtil/Functional.h>
#include <IceUtil/StringUtil.h>
#include <Slice/FileTracker.h>
@@ -1804,7 +1805,7 @@ Slice::GeneratorBase::makeDir(const string& dir)
string
Slice::GeneratorBase::readFile(const string& file)
{
- ifstream in(file.c_str());
+ std::ifstream in(file.c_str());
if(!in)
{
ostringstream os;
@@ -1840,7 +1841,7 @@ Slice::GeneratorBase::getFooter(const string& footer)
void
Slice::GeneratorBase::readFile(const string& file, string& part1, string& part2)
{
- ifstream in(file.c_str());
+ std::ifstream in(file.c_str());
if(!in)
{
ostringstream os;