Merge pull request #7909 from Wunkolo/null-visit-ctor

common: Add NullVisitor default constructor
This commit is contained in:
Mai M 2022-02-18 17:44:02 -05:00 committed by GitHub
commit 90a4591563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,9 @@ struct VisitorInterface {
struct NullVisitor final : public VisitorInterface {
YUZU_NON_COPYABLE(NullVisitor);
NullVisitor() = default;
~NullVisitor() override = default;
void Visit(const Field<bool>& /*field*/) override {}
void Visit(const Field<double>& /*field*/) override {}
void Visit(const Field<float>& /*field*/) override {}