diff options
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/event.h | 4 | ||||
| -rw-r--r-- | src/debug/heap.h | 2 | ||||
| -rw-r--r-- | src/debug/sysv-heap.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/debug/event.h b/src/debug/event.h index 2d3751ff5..1ddcb8b55 100644 --- a/src/debug/event.h +++ b/src/debug/event.h @@ -21,7 +21,7 @@ namespace Debug { class Event { public: - virtual ~Event() {} + virtual ~Event() = default; enum Category { CORE=0, @@ -39,7 +39,7 @@ public: struct PropertyPair { public: - PropertyPair() {} + PropertyPair() = default; PropertyPair(Util::ptr_shared n, Util::ptr_shared v) : name(n), value(v) {} PropertyPair(char const *n, Util::ptr_shared v) diff --git a/src/debug/heap.h b/src/debug/heap.h index d7d39efb9..959578893 100644 --- a/src/debug/heap.h +++ b/src/debug/heap.h @@ -21,7 +21,7 @@ namespace Debug { class Heap { public: - virtual ~Heap() {} + virtual ~Heap() = default; struct Stats { std::size_t size; diff --git a/src/debug/sysv-heap.h b/src/debug/sysv-heap.h index baab0af5f..6f95b74c4 100644 --- a/src/debug/sysv-heap.h +++ b/src/debug/sysv-heap.h @@ -19,7 +19,7 @@ namespace Debug { class SysVHeap : public Heap { public: - SysVHeap() {} + SysVHeap() = default; int features() const override; |
