diff options
author | Mark Spruiell <mes@zeroc.com> | 2016-10-11 10:54:49 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2016-10-11 10:54:49 -0700 |
commit | e23e52c705c6046eda2303c39504a7f40ee7a930 (patch) | |
tree | 497e085747eae0bcd7d86f1650216ba984b9190f /cpp/src/slice2confluence/Gen.cpp | |
parent | Fixed typo (diff) | |
download | ice-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.cpp | 5 |
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; |