summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslEndpoint.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-09-22 17:07:43 +0000
committerMarc Laukien <marc@zeroc.com>2002-09-22 17:07:43 +0000
commitee9134f129672068403f488e9a326411ca9cc1b1 (patch)
tree5bd03a07398ed4ffd2fc8d929ab4a0ce97a843a1 /cpp/src/IceSSL/SslEndpoint.cpp
parentfixes (diff)
downloadice-ee9134f129672068403f488e9a326411ca9cc1b1.tar.bz2
ice-ee9134f129672068403f488e9a326411ca9cc1b1.tar.xz
ice-ee9134f129672068403f488e9a326411ca9cc1b1.zip
removed several static's
Diffstat (limited to 'cpp/src/IceSSL/SslEndpoint.cpp')
-rw-r--r--cpp/src/IceSSL/SslEndpoint.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/IceSSL/SslEndpoint.cpp b/cpp/src/IceSSL/SslEndpoint.cpp
index 71096443372..fbfdaf7245e 100644
--- a/cpp/src/IceSSL/SslEndpoint.cpp
+++ b/cpp/src/IceSSL/SslEndpoint.cpp
@@ -35,7 +35,7 @@ IceSSL::SslEndpoint::SslEndpoint(const OpenSSLPluginIPtr& plugin, 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 @@ IceSSL::SslEndpointFactory::type() const
return SslEndpointType;
}
-const string&
+string
IceSSL::SslEndpointFactory::protocol() const
{
- const static string result = "ssl";
- return result;
+ return "ssl";
}
EndpointPtr