[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 4dbfeb0bbc
commit e57a031960
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 {
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() {}