Fix deprecated definition of implicit copy constructor for 'Exception'

This commit is contained in:
Vincent Cogne 2016-05-20 14:41:24 +02:00
parent 897b1154b2
commit 1855c6278d

View File

@ -114,6 +114,8 @@ class Exception : public std::runtime_error {
: std::runtime_error(build_what(mark_, msg_)), mark(mark_), msg(msg_) {}
virtual ~Exception() noexcept {}
Exception(const Exception&) = default;
Mark mark;
std::string msg;