summaryrefslogtreecommitdiff
path: root/src/keys.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-07-26 01:44:25 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-07-26 01:50:36 +0200
commita4138201b09fa70bbccdeadf1f80bbc9ebe32046 (patch)
tree83377e9daba61479805806b7b4d6e2430a2451a3 /src/keys.cc
parenteedd37c09acace58ceadacf8ecf9e883a2fd5a4a (diff)
Key: always pass by value
Diffstat (limited to 'src/keys.cc')
-rw-r--r--src/keys.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keys.cc b/src/keys.cc
index 956d9e59..98909029 100644
--- a/src/keys.cc
+++ b/src/keys.cc
@@ -87,7 +87,7 @@ KeyList parse_keys(const String& str)
return result;
}
-String key_to_str(const Key& key)
+String key_to_str(Key key)
{
bool named = false;
String res;