Don't use auto, as we also need to support GCC 4.2.

This commit is contained in:
Ed Schouten 2014-07-10 15:58:28 +00:00
parent 975f912456
commit 63cdd39993
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268499

View file

@ -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;