summaryrefslogtreecommitdiff
path: root/cpp/src/slice2js/Gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2js/Gen.h')
-rw-r--r--cpp/src/slice2js/Gen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2js/Gen.h b/cpp/src/slice2js/Gen.h
index 6b552e83320..566099347ff 100644
--- a/cpp/src/slice2js/Gen.h
+++ b/cpp/src/slice2js/Gen.h
@@ -39,7 +39,7 @@ protected:
std::string getValue(const std::string&, const TypePtr&);
- void writeConstantValue(const std::string&, const TypePtr&, const SyntaxTreeBasePtr&, const std::string&);
+ std::string writeConstantValue(const std::string&, const TypePtr&, const SyntaxTreeBasePtr&, const std::string&);
static StringList splitComment(const ContainedPtr&);
void writeDocComment(const ContainedPtr&, const std::string&, const std::string& = "");