File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ namespace YAML {
1616template <typename Seq>
1717inline Emitter& EmitSeq (Emitter& emitter, const Seq& seq) {
1818 emitter << BeginSeq;
19- for (const auto & emit : seq)
20- emitter << emit ;
19+ for (const auto & v : seq)
20+ emitter << v ;
2121 emitter << EndSeq;
2222 return emitter;
2323}
@@ -40,8 +40,8 @@ inline Emitter& operator<<(Emitter& emitter, const std::set<T>& v) {
4040template <typename K, typename V>
4141inline Emitter& operator <<(Emitter& emitter, const std::map<K, V>& m) {
4242 emitter << BeginMap;
43- for (const auto & emit : m)
44- emitter << Key << emit .first << Value << emit .second ;
43+ for (const auto & v : m)
44+ emitter << Key << v .first << Value << v .second ;
4545 emitter << EndMap;
4646 return emitter;
4747}
You can’t perform that action at this time.
0 commit comments