summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Exception.h
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/include/Ice/Exception.h
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/include/Ice/Exception.h')
-rw-r--r--cpp/include/Ice/Exception.h4
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;