mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-19 08:46:41 +01:00
Change exception data member
from "reference to string" to "string" (Resolves the most serious part of issue #216)
This commit is contained in:
parent
ed495edcc1
commit
f9feb66be2
@ -158,7 +158,7 @@ public:
|
|||||||
virtual ~Exception() throw();
|
virtual ~Exception() throw();
|
||||||
virtual char const* what() const throw();
|
virtual char const* what() const throw();
|
||||||
protected:
|
protected:
|
||||||
std::string const& msg_;
|
std::string const msg_;
|
||||||
};
|
};
|
||||||
class JSON_API RuntimeError : public Exception {
|
class JSON_API RuntimeError : public Exception {
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user