Author: ed
Date: Thu Jul 10 15:58:28 2014
New Revision: 268499
URL: http://svnweb.freebsd.org/changeset/base/268499

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

Modified:
  head/usr.bin/users/users.cc

Modified: head/usr.bin/users/users.cc
==============================================================================
--- head/usr.bin/users/users.cc Thu Jul 10 15:56:15 2014        (r268498)
+++ head/usr.bin/users/users.cc Thu Jul 10 15:58:28 2014        (r268499)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to