1
0
Fork 0

Fix: inconsistent definition of copy constructor and assignment

pull/10354/head
Rubidium 2023-01-12 21:24:30 +01:00 committed by rubidium42
parent 6dfd2cad69
commit 20a9e13272
2 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,6 @@ void check_format_string(S);
struct error_handler {
constexpr error_handler() = default;
constexpr error_handler(const error_handler&) = default;
// This function is intentionally not constexpr to give a compile-time error.
FMT_NORETURN FMT_API void on_error(const char* message);

View File

@ -10,6 +10,7 @@ struct SQClassMember {
val = o.val;
attrs = o.attrs;
}
SQClassMember& operator=(SQClassMember &o) = delete;
SQObjectPtr val;
SQObjectPtr attrs;
};