Fix deprecated definition of implicit copy constructor for 'Exception'
This commit is contained in:
parent
897b1154b2
commit
1855c6278d
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user