diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-12 00:44:14 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-12 00:44:14 -0500 |
commit | 1f0a1dec1af315e6465e1c1dd503aa942a85b1f4 (patch) | |
tree | e8464d9f1e12d3366fa181a2c1dc95a68e817b9c /hscript/key.cc | |
parent | 47558ea71d523fb71307d394be4bfad8da4664d8 (diff) | |
download | horizon-1f0a1dec1af315e6465e1c1dd503aa942a85b1f4.tar.gz horizon-1f0a1dec1af315e6465e1c1dd503aa942a85b1f4.tar.bz2 horizon-1f0a1dec1af315e6465e1c1dd503aa942a85b1f4.tar.xz horizon-1f0a1dec1af315e6465e1c1dd503aa942a85b1f4.zip |
hscript: Pass opts to all validate()s, implement 'mount' validation
Diffstat (limited to 'hscript/key.cc')
-rw-r--r-- | hscript/key.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hscript/key.cc b/hscript/key.cc index 6077e65..80ebfc6 100644 --- a/hscript/key.cc +++ b/hscript/key.cc @@ -35,12 +35,12 @@ bool Horizon::Keys::BooleanKey::parse(const std::string what, return true; } -bool Horizon::Keys::BooleanKey::validate() const { +bool Horizon::Keys::BooleanKey::validate(ScriptOptions) const { /* Key will fail init if it is not valid, so this is always a no-op. */ return true; } -bool Horizon::Keys::StringKey::validate() const { +bool Horizon::Keys::StringKey::validate(ScriptOptions) const { /* Key will fail init if it is not valid, so this is always a no-op. */ return true; } |