diff options
Diffstat (limited to 'hscript/key.cc')
-rw-r--r-- | hscript/key.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hscript/key.cc b/hscript/key.cc index 6364886..a2d0342 100644 --- a/hscript/key.cc +++ b/hscript/key.cc @@ -3,7 +3,7 @@ * libhscript, the HorizonScript library for * Project Horizon * - * Copyright (c) 2019 Adélie Linux and contributors. All rights reserved. + * Copyright (c) 2019-2020 Adélie Linux and contributors. All rights reserved. * This code is licensed under the AGPL 3.0 license, as noted in the * LICENSE-code file in the root directory of this repository. * @@ -36,12 +36,12 @@ bool Horizon::Keys::BooleanKey::parse(const std::string &what, return true; } -bool Horizon::Keys::BooleanKey::validate(ScriptOptions) const { +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(ScriptOptions) const { +bool Horizon::Keys::StringKey::validate() const { /* Key will fail init if it is not valid, so this is always a no-op. */ return true; } |