mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
Merge pull request #1848 from danra/patch-42
Use auto instead of repeating explicit class names
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user