summaryrefslogtreecommitdiff
path: root/cpp/src/IceUtil/Exception.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-04-22 18:46:33 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-04-22 18:46:33 +0000
commit5a418360a853a7a38fda24e82a6e0ae66f3dd12b (patch)
treef8f1c4cff91d9db6572a0e5ab97e00ad8ff4c91b /cpp/src/IceUtil/Exception.cpp
parentRemoved a few more exceptions (diff)
downloadice-5a418360a853a7a38fda24e82a6e0ae66f3dd12b.tar.bz2
ice-5a418360a853a7a38fda24e82a6e0ae66f3dd12b.tar.xz
ice-5a418360a853a7a38fda24e82a6e0ae66f3dd12b.zip
Changed ice_name() to return const char*
Diffstat (limited to 'cpp/src/IceUtil/Exception.cpp')
-rw-r--r--cpp/src/IceUtil/Exception.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceUtil/Exception.cpp b/cpp/src/IceUtil/Exception.cpp
index 35597b1eeec..12bbe20059c 100644
--- a/cpp/src/IceUtil/Exception.cpp
+++ b/cpp/src/IceUtil/Exception.cpp
@@ -34,9 +34,9 @@ IceUtil::Exception::~Exception()
{
}
-string IceUtil::Exception::_name = "IceUtil::Exception";
+const char* IceUtil::Exception::_name = "IceUtil::Exception";
-const string&
+const char*
IceUtil::Exception::ice_name() const
{
return _name;
@@ -92,9 +92,9 @@ IceUtil::NullHandleException::NullHandleException(const char* file, int line) :
}
}
-string IceUtil::NullHandleException::_name = "IceUtil::NullHandleException";
+const char* IceUtil::NullHandleException::_name = "IceUtil::NullHandleException";
-const string&
+const char*
IceUtil::NullHandleException::ice_name() const
{
return _name;