diff options
author | Marc Laukien <marc@zeroc.com> | 2004-11-01 22:52:46 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-11-01 22:52:46 +0000 |
commit | 2c8d38517d58868e4be35c0bf652d17707266ded (patch) | |
tree | e766d1d6f1d3dc1e6f4c958eeb0b6e1a1307f48b /cpp/src/Ice/Reference.cpp | |
parent | more glacier2 (diff) | |
download | ice-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.cpp | 27 |
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) |