diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-22 17:07:43 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-22 17:07:43 +0000 |
commit | ee9134f129672068403f488e9a326411ca9cc1b1 (patch) | |
tree | 5bd03a07398ed4ffd2fc8d929ab4a0ce97a843a1 /cpp/src/Ice/TcpEndpoint.cpp | |
parent | fixes (diff) | |
download | ice-ee9134f129672068403f488e9a326411ca9cc1b1.tar.bz2 ice-ee9134f129672068403f488e9a326411ca9cc1b1.tar.xz ice-ee9134f129672068403f488e9a326411ca9cc1b1.zip |
removed several static's
Diffstat (limited to 'cpp/src/Ice/TcpEndpoint.cpp')
-rw-r--r-- | cpp/src/Ice/TcpEndpoint.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/Ice/TcpEndpoint.cpp b/cpp/src/Ice/TcpEndpoint.cpp index 8faec7c0648..71cc62db29e 100644 --- a/cpp/src/Ice/TcpEndpoint.cpp +++ b/cpp/src/Ice/TcpEndpoint.cpp @@ -35,7 +35,7 @@ IceInternal::TcpEndpoint::TcpEndpoint(const InstancePtr& instance, const string& _port(0), _timeout(-1) { - static const string delim = " \t\n\r"; + const string delim = " \t\n\r"; string::size_type beg; string::size_type end = 0; @@ -354,11 +354,10 @@ IceInternal::TcpEndpointFactory::type() const return TcpEndpointType; } -const string& +string IceInternal::TcpEndpointFactory::protocol() const { - const static string result = "tcp"; - return result; + return "tcp"; } EndpointPtr |