From 22c04190c607b9360d9a23548f8a54e83cf0e74a Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 12 Oct 2015 04:07:59 -0400 Subject: misc: Remove redundant compiler-specific defines This patch moves away from using M5_ATTR_OVERRIDE and the m5::hashmap (and similar) abstractions, as these are no longer needed with gcc 4.7 and clang 3.1 as minimum compiler versions. --- src/mem/simple_mem.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mem/simple_mem.hh') diff --git a/src/mem/simple_mem.hh b/src/mem/simple_mem.hh index 98c41623f..c5b932bf0 100644 --- a/src/mem/simple_mem.hh +++ b/src/mem/simple_mem.hh @@ -185,7 +185,7 @@ class SimpleMemory : public AbstractMemory SimpleMemory(const SimpleMemoryParams *p); - DrainState drain() M5_ATTR_OVERRIDE; + DrainState drain() override; BaseSlavePort& getSlavePort(const std::string& if_name, PortID idx = InvalidPortID); -- cgit v1.2.3