diff options
Diffstat (limited to 'cpp/include/IceUtil/ThreadException.h')
-rw-r--r-- | cpp/include/IceUtil/ThreadException.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/include/IceUtil/ThreadException.h b/cpp/include/IceUtil/ThreadException.h index d1fbcecc61e..cc477754531 100644 --- a/cpp/include/IceUtil/ThreadException.h +++ b/cpp/include/IceUtil/ThreadException.h @@ -20,7 +20,7 @@ class ICE_UTIL_API ThreadSyscallException : public Exception public: ThreadSyscallException(const char*, int, int); - virtual const std::string& ice_name() const; + virtual const char* ice_name() const; virtual void ice_print(std::ostream&) const; virtual Exception* ice_clone() const; virtual void ice_throw() const; @@ -29,7 +29,7 @@ public: private: const int _error; - static ::std::string _name; + static const char* _name; }; class ICE_UTIL_API ThreadLockedException : public Exception @@ -37,13 +37,13 @@ class ICE_UTIL_API ThreadLockedException : public Exception public: ThreadLockedException(const char*, int); - virtual const std::string& ice_name() const; + virtual const char* ice_name() const; virtual Exception* ice_clone() const; virtual void ice_throw() const; private: - static ::std::string _name; + static const char* _name; }; class ICE_UTIL_API ThreadStartedException : public Exception @@ -51,13 +51,13 @@ class ICE_UTIL_API ThreadStartedException : public Exception public: ThreadStartedException(const char*, int); - virtual const std::string& ice_name() const; + virtual const char* ice_name() const; virtual Exception* ice_clone() const; virtual void ice_throw() const; private: - static ::std::string _name; + static const char* _name; }; class ICE_UTIL_API ThreadNotStartedException : public Exception @@ -65,13 +65,13 @@ class ICE_UTIL_API ThreadNotStartedException : public Exception public: ThreadNotStartedException(const char*, int); - virtual const std::string& ice_name() const; + virtual const char* ice_name() const; virtual Exception* ice_clone() const; virtual void ice_throw() const; private: - static ::std::string _name; + static const char* _name; }; } |