dev: Remove using namespace std and TheISA from ide_disk.cc.
authorGabe Black <gabeblack@google.com>
Tue, 29 Oct 2019 02:36:47 +0000 (19:36 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 30 Oct 2019 08:51:02 +0000 (08:51 +0000)
Neither was necessary since either that namespace wasn't used, or was
used explicitly when referenced.

Change-Id: I96d2791c09250255e7e65d47cbb6f65eb4fcb3ba
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22267
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>

src/dev/storage/ide_disk.cc

index 020e4582de469b28f3d2151272cb7fcad7bbdc69..c31c0928f7d2f662e8d3b453e464b8d1425980b0 100644 (file)
@@ -63,9 +63,6 @@
 #include "sim/core.hh"
 #include "sim/sim_object.hh"
 
-using namespace std;
-using namespace TheISA;
-
 IdeDisk::IdeDisk(const Params *p)
     : SimObject(p), ctrl(NULL), image(p->image), diskDelay(p->delay),
       dmaTransferEvent([this]{ doDmaTransfer(); }, name()),