diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-07 19:37:46 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-07 19:37:46 -0600 |
commit | 094e1bab65bf220b64f37dc6431cc208ee52e54f (patch) | |
tree | c13860e2a051dac48dabb9558e70f5e4d54f0234 /hscript | |
parent | 007eed6403d77bbfc4164114875ce6253aff7ab4 (diff) | |
download | horizon-094e1bab65bf220b64f37dc6431cc208ee52e54f.tar.gz horizon-094e1bab65bf220b64f37dc6431cc208ee52e54f.tar.bz2 horizon-094e1bab65bf220b64f37dc6431cc208ee52e54f.tar.xz horizon-094e1bab65bf220b64f37dc6431cc208ee52e54f.zip |
hscript: Key dtor doesn't need out-of-line definition
Diffstat (limited to 'hscript')
-rw-r--r-- | hscript/key.cc | 3 | ||||
-rw-r--r-- | hscript/key.hh | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/hscript/key.cc b/hscript/key.cc index 10191e0..ed21c02 100644 --- a/hscript/key.cc +++ b/hscript/key.cc @@ -14,9 +14,6 @@ #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 0a53124..aab23cf 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. |