summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2002-09-04 06:50:37 +0000
committerMichi Henning <michi@zeroc.com>2002-09-04 06:50:37 +0000
commit59c52e46d130e6042ec99c2f9f1e69d93a71d1dd (patch)
tree110850ac6a033dd7677dca232b12628ca3b738fa /cpp/src/slice2java/Gen.cpp
parentFixed reference bug on reading the operation mode. (diff)
downloadice-59c52e46d130e6042ec99c2f9f1e69d93a71d1dd.tar.bz2
ice-59c52e46d130e6042ec99c2f9f1e69d93a71d1dd.tar.xz
ice-59c52e46d130e6042ec99c2f9f1e69d93a71d1dd.zip
Changed anonymous namespace to static function because VC6 can't handle
anonymous namespaces :-(
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r--cpp/src/slice2java/Gen.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index 5f9ebb27a48..9aeeb7dd5a5 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -16,10 +16,7 @@ using namespace std;
using namespace Slice;
using namespace IceUtil;
-namespace // anonymous
-{
-
-string
+static string // Should be an anonymous namespace, but VC6 can't handle that.
sliceModeToIceMode(const OperationPtr& op)
{
string mode;
@@ -3142,8 +3139,6 @@ Slice::Gen::DelegateDVisitor::DelegateDVisitor(const string& dir, const string&
{
}
-}
-
bool
Slice::Gen::DelegateDVisitor::visitClassDefStart(const ClassDefPtr& p)
{