summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hscript/key.cc3
-rw-r--r--hscript/key.hh2
2 files changed, 4 insertions, 1 deletions
diff --git a/hscript/key.cc b/hscript/key.cc
index bc71517..6077e65 100644
--- a/hscript/key.cc
+++ b/hscript/key.cc
@@ -14,6 +14,9 @@
#include "key.hh"
#include "util/output.hh"
+Horizon::Keys::Key::~Key() {
+}
+
bool Horizon::Keys::BooleanKey::parse(const std::string what,
const std::string where,
const std::string key, bool *out) {
diff --git a/hscript/key.hh b/hscript/key.hh
index 44cbdf2..8b29212 100644
--- a/hscript/key.hh
+++ b/hscript/key.hh
@@ -28,7 +28,7 @@ protected:
int line;
Key(int _line) : line(_line) {}
public:
- virtual ~Key() {}
+ virtual ~Key();
/*! Create the Key object with the specified data as the entire value.
* @param data The value associated with the key.