mirror of https://github.com/Icinga/icinga2.git
Avoid unnecessary copies when using Dictionary::Pair in loops
refs #12509
This commit is contained in:
parent
e61ac32121
commit
5127a193b4
|
@ -47,7 +47,7 @@ public:
|
|||
|
||||
typedef std::map<String, Value>::size_type SizeType;
|
||||
|
||||
typedef std::pair<String, Value> Pair;
|
||||
typedef std::map<String, Value>::value_type Pair;
|
||||
|
||||
inline Dictionary(void)
|
||||
{ }
|
||||
|
|
Loading…
Reference in New Issue