mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00
Remove stray 'auto' that leaked in without C++11
This commit is contained in:
@@ -267,8 +267,8 @@ TEST(NodeTest, KeyNodeExitsScope) {
|
|||||||
Node temp("Hello, world");
|
Node temp("Hello, world");
|
||||||
node[temp] = 0;
|
node[temp] = 0;
|
||||||
}
|
}
|
||||||
for (const auto& kv : node) {
|
for (Node::const_iterator it = node.begin(); it != node.end(); ++it) {
|
||||||
(void)kv;
|
(void)it;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user