base: Stop "using namespace std".
authorGabe Black <gabe.black@gmail.com>
Thu, 21 Jan 2021 06:41:42 +0000 (22:41 -0800)
committerGabe Black <gabe.black@gmail.com>
Sat, 23 Jan 2021 12:09:34 +0000 (12:09 +0000)
commitf5c18ada1bbf4bce66788cd32d6987de4c31fc60
tree6bce5ca9348cc3990550006793ca0d04134de449
parentee0fdc948a4d985c345e6b9c107f4ca27b4f5539
base: Stop "using namespace std".

As the std namespace expands, it becomes more and more likely that
blanketly importing all its symbols will cause a collision. Also, when
it was imported, the std:: was used or left off arbitrarily, sometimes
inconsistently even in the same function signature.

Change-Id: Ie30cbab154b00c60433908a206c229230d2b109f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39536
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
19 files changed:
src/base/bitunion.test.cc
src/base/fiber.cc
src/base/hostinfo.cc
src/base/inet.cc
src/base/inifile.cc
src/base/inifile.test.cc
src/base/loader/symtab.cc
src/base/match.cc
src/base/output.cc
src/base/pollevent.cc
src/base/refcnt.test.cc
src/base/remote_gdb.cc
src/base/socket.cc
src/base/statistics.cc
src/base/stats/text.cc
src/base/str.cc
src/base/time.cc
src/base/vnc/vncinput.cc
src/base/vnc/vncserver.cc