summaryrefslogtreecommitdiff
path: root/src/base/statistics.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:07 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:07 -0500
commit319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf (patch)
tree49e9d2efb1b21b93cc825dbcbb2c906cbe71fa31 /src/base/statistics.cc
parentb44e0ce52b894fd4eecc9339e213b7a111c2cc1d (diff)
downloadgem5-319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf.tar.xz
scons: Add warning for missing declarations
This patch enables warnings for missing declarations. To avoid issues with SWIG-generated code, the warning is only applied to non-SWIG code.
Diffstat (limited to 'src/base/statistics.cc')
-rw-r--r--src/base/statistics.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/base/statistics.cc b/src/base/statistics.cc
index 8034625be..630205a59 100644
--- a/src/base/statistics.cc
+++ b/src/base/statistics.cc
@@ -49,7 +49,6 @@ using namespace std;
namespace Stats {
std::string Info::separatorString = "::";
-typedef map<const void *, Info *> MapType;
// We wrap these in a function to make sure they're built in time.
list<Info *> &
@@ -114,7 +113,6 @@ StorageParams::~StorageParams()
{
}
-typedef map<std::string, Info *> NameMapType;
NameMapType &
nameMap()
{