summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/JavaUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Slice/JavaUtil.h')
-rw-r--r--cpp/include/Slice/JavaUtil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/Slice/JavaUtil.h b/cpp/include/Slice/JavaUtil.h
index c8bb6a71f85..336b16e026a 100644
--- a/cpp/include/Slice/JavaUtil.h
+++ b/cpp/include/Slice/JavaUtil.h
@@ -125,7 +125,7 @@ protected:
//
// Returns the optional type corresponding to the given Slice type.
//
- std::string getOptionalType(const TypePtr&);
+ std::string getOptionalFormat(const TypePtr&);
//
// Get the Java name for a type. If an optional scope is provided,