summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2java/Gen.h')
-rw-r--r--cpp/src/slice2java/Gen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/slice2java/Gen.h b/cpp/src/slice2java/Gen.h
index 0f504ed4c47..2885b65e7d8 100644
--- a/cpp/src/slice2java/Gen.h
+++ b/cpp/src/slice2java/Gen.h
@@ -94,6 +94,11 @@ protected:
const std::string&, bool, int&,
bool = false);
+ //
+ // Generate code to compute a hash code for a type
+ //
+ void writeHashCode(Output&, const TypePtr&, const std::string&, int&);
+
private:
void printHeader();