From 21d281c4a953404c8f13e1cb7ee8d4cf9c25bb4c Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Sat, 12 Aug 2017 07:04:30 -0400 Subject: Use const reference where favorable --- core/pair.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/pair.h') 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) { } -- cgit v1.2.3