Change exception data member

from "reference to string" to "string" (Resolves the most serious part of issue #216)
This commit is contained in:
Dani-Hub 2015-03-09 22:29:18 +01:00 committed by Christopher Dunn
parent ed495edcc1
commit f9feb66be2

View File

@ -158,7 +158,7 @@ public:
virtual ~Exception() throw();
virtual char const* what() const throw();
protected:
std::string const& msg_;
std::string const msg_;
};
class JSON_API RuntimeError : public Exception {
public: