summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/Parser.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/src/FreezeScript/Parser.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/src/FreezeScript/Parser.h')
-rw-r--r--cpp/src/FreezeScript/Parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/FreezeScript/Parser.h b/cpp/src/FreezeScript/Parser.h
index 8865f57da1e..4c4af3bf9a9 100644
--- a/cpp/src/FreezeScript/Parser.h
+++ b/cpp/src/FreezeScript/Parser.h
@@ -39,7 +39,7 @@ class EvaluateException : public IceUtil::Exception
public:
EvaluateException(const char*, int, const std::string&);
- virtual const std::string& ice_name() const;
+ virtual const char* ice_name() const;
virtual void ice_print(std::ostream&) const;
virtual IceUtil::Exception* ice_clone() const;
virtual void ice_throw() const;
@@ -49,7 +49,7 @@ public:
private:
std::string _reason;
- static std::string _name;
+ static const char* _name;
};
//