From 2621dd488ecc612bc0294a4389ee377737b353c1 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 2 Jun 2020 21:29:55 -0700 Subject: [PATCH] [clang-tidy] use = default Found with modernize-use-equals-default Signed-off-by: Rosen Penev --- util/read.cpp | 2 +- util/sandbox.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/read.cpp b/util/read.cpp index 0365922..b4f355c 100644 --- a/util/read.cpp +++ b/util/read.cpp @@ -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 {} diff --git a/util/sandbox.cpp b/util/sandbox.cpp index 4f085db..f21490e 100644 --- a/util/sandbox.cpp +++ b/util/sandbox.cpp @@ -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 {}