From 831f22fb241e6bbf6e03a61f76932a22a63e4564 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 8 Oct 2019 22:13:39 -0500 Subject: hscript: Ensure Key vtable isn't duped in every object --- hscript/key.cc | 3 +++ hscript/key.hh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'hscript') 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. -- cgit v1.2.3-70-g09d2