Module: check_mk
Branch: master
Commit: cef483db47699569fa43bf4010f3c24dd5c6df78
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cef483db476995…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Dec 7 22:15:23 2017 +0100
Automatic clang-tidy fix for modernize-use-equals-default.
Change-Id: I993ac0fcfcaae2f895963bd0a95ce0899ef4d449
---
livestatus/src/Column.h | 2 +-
livestatus/src/DynamicLogwatchFileColumn.h | 2 +-
livestatus/src/FilterVisitor.h | 2 +-
livestatus/src/Logger.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/livestatus/src/Column.h b/livestatus/src/Column.h
index 4098c44..fcead0b 100644
--- a/livestatus/src/Column.h
+++ b/livestatus/src/Column.h
@@ -54,7 +54,7 @@ class Column {
public:
Column(std::string name, std::string description, int indirect_offset,
int extra_offset, int extra_extra_offset, int offset);
- virtual ~Column() {}
+ virtual ~Column() = default;
std::string name() const { return _name; }
std::string description() const { return _description; }
diff --git a/livestatus/src/DynamicLogwatchFileColumn.h
b/livestatus/src/DynamicLogwatchFileColumn.h
index c5063e3..e071935 100644
--- a/livestatus/src/DynamicLogwatchFileColumn.h
+++ b/livestatus/src/DynamicLogwatchFileColumn.h
@@ -42,7 +42,7 @@ public:
: DynamicColumn(name, description, logger, indirect_offset,
extra_offset, extra_extra_offset)
, _mc(mc) {}
- ~DynamicLogwatchFileColumn() override {}
+ ~DynamicLogwatchFileColumn() override = default;
std::unique_ptr<Column> createColumn(const std::string &name,
const std::string &arguments) override;
diff --git a/livestatus/src/FilterVisitor.h b/livestatus/src/FilterVisitor.h
index 6028b8c..cc82d84 100644
--- a/livestatus/src/FilterVisitor.h
+++ b/livestatus/src/FilterVisitor.h
@@ -32,7 +32,7 @@ class OringFilter;
class FilterVisitor {
public:
- virtual ~FilterVisitor() {}
+ virtual ~FilterVisitor() = default;
virtual void visit(const ColumnFilter &) = 0;
virtual void visit(const AndingFilter &) = 0;
virtual void visit(const OringFilter &) = 0;
diff --git a/livestatus/src/Logger.h b/livestatus/src/Logger.h
index f97c6b4..df378b1 100644
--- a/livestatus/src/Logger.h
+++ b/livestatus/src/Logger.h
@@ -62,7 +62,7 @@ public:
: _level(level)
, _message(message)
, _time_point(std::chrono::system_clock::now()) {}
- virtual ~LogRecord() {}
+ virtual ~LogRecord() = default;
LogLevel getLevel() const { return _level; }
void setLevel(LogLevel level) { _level = level; }