summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/Parser.h
diff options
context:
space:
mode:
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;
};
//