mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 11:22:44 +01:00
Merge pull request #7909 from Wunkolo/null-visit-ctor
common: Add NullVisitor default constructor
This commit is contained in:
commit
90a4591563
1 changed files with 3 additions and 0 deletions
|
@ -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 {}
|
||||
|
|
Loading…
Reference in a new issue