[clang-tidy] use = default
Found with modernize-use-equals-default Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
4dbfeb0bbc
commit
e57a031960
@ -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() {}
|
||||
|
||||
@ -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() {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user