[clang-tidy] use = default

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-06-02 21:29:55 -07:00
parent f02b0dda3a
commit 2621dd488e
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
2 changed files with 2 additions and 2 deletions

View File

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

View File

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