summaryrefslogtreecommitdiff
path: root/hscript/user.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/user.cc')
-rw-r--r--hscript/user.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/user.cc b/hscript/user.cc
index cc656a1..2b89167 100644
--- a/hscript/user.cc
+++ b/hscript/user.cc
@@ -15,7 +15,7 @@
using namespace Horizon::Keys;
-Key *RootPassphrase::parseFromData(const std::string data, int lineno,
+Key *RootPassphrase::parseFromData(const std::string &data, int lineno,
int *errors, int *warnings) {
if(data.size() < 5 || data[0] != '$' || (data[1] != '2' && data[1] != '6')
|| data[2] != '$') {