Unverified Commit 7e4f290e by Rosen Penev Committed by GitHub

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

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
parent ae811c3d
...@@ -11,7 +11,7 @@ class NullEventHandler : public YAML::EventHandler { ...@@ -11,7 +11,7 @@ class NullEventHandler : public YAML::EventHandler {
typedef YAML::Mark Mark; typedef YAML::Mark Mark;
typedef YAML::anchor_t anchor_t; typedef YAML::anchor_t anchor_t;
NullEventHandler() {} NullEventHandler() = default;
virtual void OnDocumentStart(const Mark&) {} virtual void OnDocumentStart(const Mark&) {}
virtual void OnDocumentEnd() {} virtual void OnDocumentEnd() {}
......
...@@ -9,7 +9,7 @@ class NullEventHandler : public YAML::EventHandler { ...@@ -9,7 +9,7 @@ class NullEventHandler : public YAML::EventHandler {
typedef YAML::Mark Mark; typedef YAML::Mark Mark;
typedef YAML::anchor_t anchor_t; typedef YAML::anchor_t anchor_t;
NullEventHandler() {} NullEventHandler() = default;
virtual void OnDocumentStart(const Mark&) {} virtual void OnDocumentStart(const Mark&) {}
virtual void OnDocumentEnd() {} virtual void OnDocumentEnd() {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment