From 5127a193b48cec6c7c1317fd34413dfadfd6ce0f Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 30 Aug 2016 23:01:54 +0200 Subject: [PATCH] Avoid unnecessary copies when using Dictionary::Pair in loops refs #12509 --- lib/base/dictionary.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/dictionary.hpp b/lib/base/dictionary.hpp index ff2e4b569..edacaa244 100644 --- a/lib/base/dictionary.hpp +++ b/lib/base/dictionary.hpp @@ -47,7 +47,7 @@ public: typedef std::map::size_type SizeType; - typedef std::pair Pair; + typedef std::map::value_type Pair; inline Dictionary(void) { } -- 2.40.0