diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-04-22 18:46:33 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-04-22 18:46:33 +0000 |
commit | 5a418360a853a7a38fda24e82a6e0ae66f3dd12b (patch) | |
tree | f8f1c4cff91d9db6572a0e5ab97e00ad8ff4c91b /cpp/include/Ice/Exception.h | |
parent | Removed a few more exceptions (diff) | |
download | ice-5a418360a853a7a38fda24e82a6e0ae66f3dd12b.tar.bz2 ice-5a418360a853a7a38fda24e82a6e0ae66f3dd12b.tar.xz ice-5a418360a853a7a38fda24e82a6e0ae66f3dd12b.zip |
Changed ice_name() to return const char*
Diffstat (limited to 'cpp/include/Ice/Exception.h')
-rw-r--r-- | cpp/include/Ice/Exception.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/Ice/Exception.h b/cpp/include/Ice/Exception.h index 256e1ac99b2..1acf9269c1e 100644 --- a/cpp/include/Ice/Exception.h +++ b/cpp/include/Ice/Exception.h @@ -31,7 +31,7 @@ class ICE_API LocalException : public IceUtil::Exception public: LocalException(const char*, int); - virtual const std::string& ice_name() const = 0; + virtual const char* ice_name() const = 0; virtual Exception* ice_clone() const = 0; virtual void ice_throw() const = 0; }; @@ -40,7 +40,7 @@ class ICE_API UserException : public IceUtil::Exception { public: - virtual const std::string& ice_name() const = 0; + virtual const char* ice_name() const = 0; virtual Exception* ice_clone() const = 0; virtual void ice_throw() const = 0; |