summaryrefslogtreecommitdiff
path: root/cpp/include/Transform/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Transform/Exception.h')
-rw-r--r--cpp/include/Transform/Exception.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/include/Transform/Exception.h b/cpp/include/Transform/Exception.h
index 93cd81c5c31..4a860430730 100644
--- a/cpp/include/Transform/Exception.h
+++ b/cpp/include/Transform/Exception.h
@@ -33,7 +33,7 @@ class TRANSFORM_API TransformException : public IceUtil::Exception
public:
TransformException(const char*, int, const std::string&);
- virtual std::string ice_name() const;
+ virtual const std::string& ice_name() const;
virtual void ice_print(std::ostream&) const;
virtual IceUtil::Exception* ice_clone() const;
virtual void ice_throw() const;
@@ -43,6 +43,7 @@ public:
private:
std::string _reason;
+ static std::string _name;
};
} // End of namespace Transform