summaryrefslogtreecommitdiff
path: root/hscript/key.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-08 22:07:48 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-08 22:07:48 -0500
commita621e6b86adfe8278d2e9c110eb8ef54e58c6abe (patch)
tree793d373d4cc40575cf74284e29032fb37c0948b4 /hscript/key.cc
parent794d2bd7e8472d6fad1ebb385240c1838e6325fc (diff)
downloadhorizon-a621e6b86adfe8278d2e9c110eb8ef54e58c6abe.tar.gz
horizon-a621e6b86adfe8278d2e9c110eb8ef54e58c6abe.tar.bz2
horizon-a621e6b86adfe8278d2e9c110eb8ef54e58c6abe.tar.xz
horizon-a621e6b86adfe8278d2e9c110eb8ef54e58c6abe.zip
hscript: Add StringKey helper class
Diffstat (limited to 'hscript/key.cc')
-rw-r--r--hscript/key.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/hscript/key.cc b/hscript/key.cc
index b5bbe31..bc71517 100644
--- a/hscript/key.cc
+++ b/hscript/key.cc
@@ -36,3 +36,8 @@ bool Horizon::Keys::BooleanKey::validate() 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 {
+ /* Key will fail init if it is not valid, so this is always a no-op. */
+ return true;
+}