summaryrefslogtreecommitdiff
path: root/hscript/key.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-26 00:12:13 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-26 00:12:13 -0500
commitdb86a77b1d79824d2ee42d617f9a04bf8c3f7210 (patch)
treeb5814b658edad1a3691bb1b798d400e7f2e5a0dc /hscript/key.cc
parentcedb2d224da81edcca1191e7812713e308174889 (diff)
downloadhorizon-db86a77b1d79824d2ee42d617f9a04bf8c3f7210.tar.gz
horizon-db86a77b1d79824d2ee42d617f9a04bf8c3f7210.tar.bz2
horizon-db86a77b1d79824d2ee42d617f9a04bf8c3f7210.tar.xz
horizon-db86a77b1d79824d2ee42d617f9a04bf8c3f7210.zip
hscript: Convert 'int line' to a ScriptLocation object
Diffstat (limited to 'hscript/key.cc')
-rw-r--r--hscript/key.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/key.cc b/hscript/key.cc
index a2d0342..49d095e 100644
--- a/hscript/key.cc
+++ b/hscript/key.cc
@@ -19,7 +19,7 @@ Horizon::Keys::Key::~Key() {
}
bool Horizon::Keys::BooleanKey::parse(const std::string &what,
- const std::string &where,
+ const ScriptLocation &where,
const std::string &key, bool *out) {
std::string lower(what.size(), 0);
std::transform(what.begin(), what.end(), lower.begin(), ::tolower);