diff --git a/include/yaml-cpp/exceptions.h b/include/yaml-cpp/exceptions.h index c9a4edd..5d44c05 100644 --- a/include/yaml-cpp/exceptions.h +++ b/include/yaml-cpp/exceptions.h @@ -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;