summaryrefslogtreecommitdiff
path: root/hscript/key.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-12 00:44:14 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-12 00:44:14 -0500
commit1f0a1dec1af315e6465e1c1dd503aa942a85b1f4 (patch)
treee8464d9f1e12d3366fa181a2c1dc95a68e817b9c /hscript/key.cc
parent47558ea71d523fb71307d394be4bfad8da4664d8 (diff)
downloadhorizon-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.cc4
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;
}