summaryrefslogtreecommitdiff
path: root/hscript/meta.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-14 13:08:16 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-14 13:08:16 -0500
commitf93285df551fc1c97eb969b37308d673408d86e3 (patch)
tree628d088cd991d8ba8c69038147ddcca8f92c3930 /hscript/meta.hh
parentd90ac4c662c4c86f35d3f302e44831845917e028 (diff)
downloadhorizon-f93285df551fc1c97eb969b37308d673408d86e3.tar.gz
horizon-f93285df551fc1c97eb969b37308d673408d86e3.tar.bz2
horizon-f93285df551fc1c97eb969b37308d673408d86e3.tar.xz
horizon-f93285df551fc1c97eb969b37308d673408d86e3.zip
hscript: Move PkgInstall virt methods to .cc to avoid vtable emission
Diffstat (limited to 'hscript/meta.hh')
-rw-r--r--hscript/meta.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/hscript/meta.hh b/hscript/meta.hh
index b73cda4..035bb8a 100644
--- a/hscript/meta.hh
+++ b/hscript/meta.hh
@@ -40,9 +40,8 @@ public:
static Key *parseFromData(const std::string &data, int lineno, int *errors,
int *warnings);
const std::set<std::string> packages() const { return _pkgs; }
- bool validate(ScriptOptions) const override { return true; }
- bool execute(ScriptOptions) const override { return true; }
-
+ bool validate(ScriptOptions) const override;
+ bool execute(ScriptOptions) const override;
};
class Language : public StringKey {