Module: check_mk
Branch: master
Commit: 2c1f631dde19f1799ba7e73b26f29c056b98a67a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2c1f631dde19f1…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Jan 14 11:28:37 2016 +0100
Re-added virtual destructor which was accidentally removed.
---
livestatus/src/DynamicColumn.cc | 3 +++
livestatus/src/DynamicColumn.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/livestatus/src/DynamicColumn.cc b/livestatus/src/DynamicColumn.cc
index a9972d6..e281e0a 100644
--- a/livestatus/src/DynamicColumn.cc
+++ b/livestatus/src/DynamicColumn.cc
@@ -24,6 +24,9 @@
#include "DynamicColumn.h"
+DynamicColumn::~DynamicColumn()
+{
+}
Column *DynamicColumn::createColumn(const char *arguments)
{
diff --git a/livestatus/src/DynamicColumn.h b/livestatus/src/DynamicColumn.h
index bf8f1e0..3c3771f 100644
--- a/livestatus/src/DynamicColumn.h
+++ b/livestatus/src/DynamicColumn.h
@@ -38,6 +38,7 @@ class DynamicColumn
public:
DynamicColumn(std::string name, std::string description, int indirect_offset) :
_name(name), _description(description), _indirect_offset(indirect_offset) {}
+ virtual ~DynamicColumn();
const char *name() const { return _name.c_str(); }
const char *description() const { return _description.c_str(); }
Column *createColumn(const char *arguments);