summaryrefslogtreecommitdiff
path: root/cpp/src/slice2confluence/Gen.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2016-10-11 10:54:49 -0700
committerMark Spruiell <mes@zeroc.com>2016-10-11 10:54:49 -0700
commite23e52c705c6046eda2303c39504a7f40ee7a930 (patch)
tree497e085747eae0bcd7d86f1650216ba984b9190f /cpp/src/slice2confluence/Gen.cpp
parentFixed typo (diff)
downloadice-e23e52c705c6046eda2303c39504a7f40ee7a930.tar.bz2
ice-e23e52c705c6046eda2303c39504a7f40ee7a930.tar.xz
ice-e23e52c705c6046eda2303c39504a7f40ee7a930.zip
slice2confluence fixes
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;