Add default copy constructor to SystemError
This commit is contained in:
parent
20089c23ca
commit
f0d7c51f84
@ -2405,6 +2405,7 @@ class SystemError : public internal::RuntimeError {
|
|||||||
SystemError(int error_code, CStringRef message) {
|
SystemError(int error_code, CStringRef message) {
|
||||||
init(error_code, message, ArgList());
|
init(error_code, message, ArgList());
|
||||||
}
|
}
|
||||||
|
SystemError(const SystemError&) = default;
|
||||||
FMT_VARIADIC_CTOR(SystemError, init, int, CStringRef)
|
FMT_VARIADIC_CTOR(SystemError, init, int, CStringRef)
|
||||||
|
|
||||||
FMT_API ~SystemError() FMT_DTOR_NOEXCEPT;
|
FMT_API ~SystemError() FMT_DTOR_NOEXCEPT;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user