summaryrefslogtreecommitdiff
path: root/hscript/script.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/script.cc')
-rw-r--r--hscript/script.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index d70a552..8afa6aa 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -28,7 +28,7 @@
#define LINE_MAX 512
-typedef Horizon::Keys::Key *(*key_parse_fn)(std::string, int, int*, int*);
+typedef Horizon::Keys::Key *(*key_parse_fn)(const std::string &, int, int*, int*);
const std::map<std::string, key_parse_fn> valid_keys = {
{"network", &Horizon::Keys::Network::parseFromData},