summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-08-23 07:42:12 +0000
committerMarc Laukien <marc@zeroc.com>2002-08-23 07:42:12 +0000
commit50cbb6e19d8939be2dc793eeb500c490dbcc3d85 (patch)
tree25798bcaccc55803352708a7f11a3038a6a5c9d3 /cpp/src
parentFixed code for nonmutating changes. (diff)
downloadice-50cbb6e19d8939be2dc793eeb500c490dbcc3d85.tar.bz2
ice-50cbb6e19d8939be2dc793eeb500c490dbcc3d85.tar.xz
ice-50cbb6e19d8939be2dc793eeb500c490dbcc3d85.zip
fixes
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/LocatorInfo.cpp2
-rw-r--r--cpp/src/slice2cpp/Gen.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/LocatorInfo.cpp b/cpp/src/Ice/LocatorInfo.cpp
index f5391d724d1..04abd723fbf 100644
--- a/cpp/src/Ice/LocatorInfo.cpp
+++ b/cpp/src/Ice/LocatorInfo.cpp
@@ -245,7 +245,7 @@ IceInternal::LocatorInfo::getEndpoints(const ReferencePtr& ref, bool& cached)
endpoints = object->__reference()->endpoints;
}
}
- catch(LocalException& ex)
+ catch(const LocalException&)
{
//
// Ignore. The proxy will most likely get empty
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 9d3e232a34b..ec98cd7ef34 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -1778,7 +1778,7 @@ Slice::Gen::DelegateDVisitor::visitOperation(const OperationPtr& p)
C << sb;
C << nl << "throw ::Ice::UnknownUserException(__FILE__, __LINE__);";
C << eb;
- C << nl << "catch (...)";
+ C << nl << "catch(...)";
C << sb;
C << nl << "throw ::Ice::UnknownException(__FILE__, __LINE__);";
C << eb;