Don't use auto, as we also need to support GCC 4.2.
This commit is contained in:
parent
975f912456
commit
63cdd39993
@ -57,7 +57,7 @@ main(int argc, char **)
|
||||
endutxent();
|
||||
|
||||
if (!names.empty()) {
|
||||
auto last = names.end();
|
||||
std::set<string>::iterator last = names.end();
|
||||
--last;
|
||||
copy(names.begin(), last, ostream_iterator<string>(cout, " "));
|
||||
cout << *last << endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user