From f0d7c51f846cb9833c10e5faf908a8efdef37bce Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 23 Feb 2017 13:15:29 +0100 Subject: [PATCH] Add default copy constructor to SystemError --- fmt/format.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fmt/format.h b/fmt/format.h index 4ba63b58..0073c4e7 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -2405,6 +2405,7 @@ class SystemError : public internal::RuntimeError { SystemError(int error_code, CStringRef message) { init(error_code, message, ArgList()); } + SystemError(const SystemError&) = default; FMT_VARIADIC_CTOR(SystemError, init, int, CStringRef) FMT_API ~SystemError() FMT_DTOR_NOEXCEPT;