summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hscript/key.cc4
-rw-r--r--hscript/key.hh2
2 files changed, 5 insertions, 1 deletions
diff --git a/hscript/key.cc b/hscript/key.cc
index ed21c02..6364886 100644
--- a/hscript/key.cc
+++ b/hscript/key.cc
@@ -14,6 +14,10 @@
#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 aab23cf..0a53124 100644
--- a/hscript/key.hh
+++ b/hscript/key.hh
@@ -29,7 +29,7 @@ protected:
long line;
Key(long _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.