[clang-tidy] use = default (#887)

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-06-15 13:19:21 -07:00 committed by GitHub
parent ae811c3d86
commit 7e4f290ef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ class NullEventHandler : public YAML::EventHandler {
typedef YAML::Mark Mark;
typedef YAML::anchor_t anchor_t;
NullEventHandler() {}
NullEventHandler() = default;
virtual void OnDocumentStart(const Mark&) {}
virtual void OnDocumentEnd() {}

View File

@ -9,7 +9,7 @@ class NullEventHandler : public YAML::EventHandler {
typedef YAML::Mark Mark;
typedef YAML::anchor_t anchor_t;
NullEventHandler() {}
NullEventHandler() = default;
virtual void OnDocumentStart(const Mark&) {}
virtual void OnDocumentEnd() {}