summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-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)
{