Browse Source
Merge pull request #7909 from Wunkolo/null-visit-ctor
common: Add NullVisitor default constructor
pull/15/merge
Mai M
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
src/common/telemetry.h
|
|
|
@ -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 {} |
|
|
|
|