diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-18 20:54:15 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-18 20:54:15 -0500 |
commit | dbd0e5381c185ca2c87483060122a793386993a5 (patch) | |
tree | 9e763ca21aff7ed6a2e591413ee6667e63040797 /hscript | |
parent | 8ce5c61ab1cc093f27b3874965d2052ca35f8a9b (diff) | |
download | horizon-dbd0e5381c185ca2c87483060122a793386993a5.tar.gz horizon-dbd0e5381c185ca2c87483060122a793386993a5.tar.bz2 horizon-dbd0e5381c185ca2c87483060122a793386993a5.tar.xz horizon-dbd0e5381c185ca2c87483060122a793386993a5.zip |
hscript: Pass key_name by reference
Diffstat (limited to 'hscript')
-rw-r--r-- | hscript/script.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/script.cc b/hscript/script.cc index 7d03365..c2d2bf1 100644 --- a/hscript/script.cc +++ b/hscript/script.cc @@ -110,7 +110,7 @@ struct Script::ScriptPrivate { * @param warnings Output parameter: if given, incremented on warning. * @param opts Script parsing options. */ - bool store_key(const std::string key_name, Keys::Key *obj, int lineno, + bool store_key(const std::string &key_name, Keys::Key *obj, int lineno, int *errors, int *warnings, ScriptOptions opts) { if(key_name == "network") { return store_network(obj, lineno, errors, warnings, opts); |