Internal root_schema may move callbacks
This commit is contained in:
parent
f20017306f
commit
7264fa0a05
@ -103,9 +103,9 @@ class root_schema : public schema
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
root_schema(schema_loader loader,
|
root_schema(schema_loader &&loader,
|
||||||
format_checker format)
|
format_checker &&format)
|
||||||
: schema(this), loader_(loader), format_check_(format) {}
|
: schema(this), loader_(std::move(loader)), format_check_(std::move(format)) {}
|
||||||
|
|
||||||
format_checker &format_check() { return format_check_; }
|
format_checker &format_check() { return format_check_; }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user