summaryrefslogtreecommitdiff
path: root/core/pair.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/pair.h')
-rw-r--r--core/pair.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pair.h b/core/pair.h
index d4b1897537..d517339ddf 100644
--- a/core/pair.h
+++ b/core/pair.h
@@ -37,7 +37,7 @@ struct Pair {
S second;
Pair() {}
- Pair(F p_first, S p_second)
+ Pair(F p_first, const S &p_second)
: first(p_first),
second(p_second) {
}