summaryrefslogtreecommitdiff
path: root/cpp/src/slice2freezej/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2freezej/Main.cpp')
-rwxr-xr-xcpp/src/slice2freezej/Main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/slice2freezej/Main.cpp b/cpp/src/slice2freezej/Main.cpp
index a08642d2650..ff267b46e99 100755
--- a/cpp/src/slice2freezej/Main.cpp
+++ b/cpp/src/slice2freezej/Main.cpp
@@ -100,7 +100,13 @@ public:
void generate(UnitPtr&, const Index&);
+#ifdef __SUNPRO_CC
+protected:
+ using JavaGenerator::typeToObjectString;
+#endif
+
private:
+
string typeToObjectString(const TypePtr&);
string varToObject(const TypePtr&, const string&);
string objectToVar(const TypePtr&, const string&);