summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2html/Gen.cpp')
-rw-r--r--cpp/src/slice2html/Gen.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp
index 36fc080f761..a5e03d6015f 100644
--- a/cpp/src/slice2html/Gen.cpp
+++ b/cpp/src/slice2html/Gen.cpp
@@ -942,7 +942,8 @@ Slice::GeneratorBase::getURL(const SyntaxTreeBasePtr& target, const SyntaxTreeBa
"string",
"Object",
"Object*",
- "LocalObject"
+ "LocalObject",
+ "Value"
};
SyntaxTreeBasePtr t = target;
@@ -1582,7 +1583,7 @@ Slice::GeneratorBase::makeDir(const string& dir)
string
Slice::GeneratorBase::readFile(const string& file)
{
- IceUtilInternal::ifstream in(file);
+ ifstream in(streamFilename(file).c_str());
if(!in)
{
ostringstream os;
@@ -1656,7 +1657,7 @@ Slice::GeneratorBase::getFooter(const string& footer)
void
Slice::GeneratorBase::readFile(const string& file, string& part1, string& part2)
{
- IceUtilInternal::ifstream in(file);
+ ifstream in(streamFilename(file).c_str());
if(!in)
{
ostringstream os;