Merge pull request #1848 from danra/patch-42

Use auto instead of repeating explicit class names
This commit is contained in:
Chris Lattner
2016-03-24 22:38:54 -07:00
+2 -2
View File
@@ -192,7 +192,7 @@ public:
return *this;
}
iterator operator++(int _) {
iterator copy = *this;
auto copy = *this;
operator++();
return copy;
}
@@ -235,7 +235,7 @@ public:
return *this;
}
const_iterator operator++(int _) {
const_iterator copy = *this;
auto copy = *this;
operator++();
return copy;
}