diff options
author | ed <ed@FreeBSD.org> | 2014-07-10 15:58:28 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2014-07-10 15:58:28 +0000 |
commit | fc8de5749e765b365b0f0ebfc042c1290de4541d (patch) | |
tree | 0578d2fc24cd12ab34f37de5ec35c79097fd90b9 /usr.bin | |
parent | c52627a0e32e56767a18d06f5fd1b47c453c690f (diff) | |
download | FreeBSD-src-fc8de5749e765b365b0f0ebfc042c1290de4541d.zip FreeBSD-src-fc8de5749e765b365b0f0ebfc042c1290de4541d.tar.gz |
Don't use auto, as we also need to support GCC 4.2.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/users/users.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/users/users.cc b/usr.bin/users/users.cc index 8b2e26f..fafe43e 100644 --- a/usr.bin/users/users.cc +++ b/usr.bin/users/users.cc @@ -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; |