summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-08-08 14:28:28 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-08-08 14:28:28 +0000
commit451a47ec01d47d0a5b4db28e3108eac969a5987a (patch)
treed5d8e072dbbdd336b2cbfb4327869624647780a7 /cppe/src
parentFixed linux compile issue (diff)
downloadice-451a47ec01d47d0a5b4db28e3108eac969a5987a.tar.bz2
ice-451a47ec01d47d0a5b4db28e3108eac969a5987a.tar.xz
ice-451a47ec01d47d0a5b4db28e3108eac969a5987a.zip
Canged case statements
Diffstat (limited to 'cppe/src')
-rw-r--r--cppe/src/IceE/Outgoing.cpp6
-rw-r--r--cppe/src/IceE/Reference.cpp5
2 files changed, 7 insertions, 4 deletions
diff --git a/cppe/src/IceE/Outgoing.cpp b/cppe/src/IceE/Outgoing.cpp
index 9b23e91b8a3..3c52bc3a04f 100644
--- a/cppe/src/IceE/Outgoing.cpp
+++ b/cppe/src/IceE/Outgoing.cpp
@@ -58,7 +58,8 @@ IceInternal::Outgoing::Outgoing(Connection* connection, Reference* ref, const st
break;
}
#endif
- default:
+ case Reference::ModeDatagram:
+ case Reference::ModeBatchDatagram:
{
//
// TODO: Should this assert?
@@ -250,7 +251,8 @@ IceInternal::Outgoing::invoke()
break;
}
#endif
- default:
+ case Reference::ModeDatagram:
+ case Reference::ModeBatchDatagram:
{
//
// TODO: Should this assert?
diff --git a/cppe/src/IceE/Reference.cpp b/cppe/src/IceE/Reference.cpp
index 7177035c41d..9c96ad01bae 100644
--- a/cppe/src/IceE/Reference.cpp
+++ b/cppe/src/IceE/Reference.cpp
@@ -267,8 +267,9 @@ IceInternal::Reference::toString() const
s += " -O";
break;
}
-
- default:
+
+ case ModeDatagram:
+ case ModeBatchDatagram:
{
//
// TODO: Should this assert?