summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Reference.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-11-01 22:52:46 +0000
committerMarc Laukien <marc@zeroc.com>2004-11-01 22:52:46 +0000
commit2c8d38517d58868e4be35c0bf652d17707266ded (patch)
treee766d1d6f1d3dc1e6f4c958eeb0b6e1a1307f48b /cpp/src/Ice/Reference.cpp
parentmore glacier2 (diff)
downloadice-2c8d38517d58868e4be35c0bf652d17707266ded.tar.bz2
ice-2c8d38517d58868e4be35c0bf652d17707266ded.tar.xz
ice-2c8d38517d58868e4be35c0bf652d17707266ded.zip
more glacier2
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r--cpp/src/Ice/Reference.cpp27
1 files changed, 4 insertions, 23 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp
index db2d0600c2b..4705dfad427 100644
--- a/cpp/src/Ice/Reference.cpp
+++ b/cpp/src/Ice/Reference.cpp
@@ -553,14 +553,6 @@ IceInternal::FixedReference::streamWrite(BasicStream* s) const
throw ex;
}
-string
-IceInternal::FixedReference::toString() const
-{
- MarshalException ex(__FILE__, __LINE__);
- ex.reason = "Cannot stringify a fixed reference";
- throw ex;
-}
-
ConnectionIPtr
IceInternal::FixedReference::getConnection(bool& compress) const
{
@@ -680,18 +672,6 @@ IceInternal::RoutableReference::changeTimeout(int newTimeout) const
return RoutableReferencePtr(const_cast<RoutableReference*>(this));
}
-void
-IceInternal::RoutableReference::streamWrite(BasicStream* s) const
-{
- Reference::streamWrite(s);
-}
-
-string
-IceInternal::RoutableReference::toString() const
-{
- return Reference::toString();
-}
-
bool
IceInternal::RoutableReference::operator==(const Reference& r) const
{
@@ -1011,10 +991,11 @@ IceInternal::IndirectReference::toString() const
}
result.append(" @ ");
+
//
- // If the encoded adapter id string contains characters which
- // the reference parser uses as separators, then we enclose
- // the adapter id string in quotes.
+ // If the encoded adapter id string contains characters which the
+ // reference parser uses as separators, then we enclose the
+ // adapter id string in quotes.
//
string a = IceUtil::escapeString(adapterId, "");
if(a.find_first_of(" \t\n\r") != string::npos)