diff options
Diffstat (limited to 'cpp/src/IceUtil/Exception.cpp')
-rw-r--r-- | cpp/src/IceUtil/Exception.cpp | 8 |
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; |