summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2003-12-15 20:56:47 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2003-12-15 20:56:47 -0800
commiteb1cfea1aaec1584bbc5d2b344eae30b5b29c31f (patch)
tree1677695061f2b1d3206086cfb8aed090b647b341
parente537fb3fd61f62040a579976c27903bcb2d52939 (diff)
downloadgem5-eb1cfea1aaec1584bbc5d2b344eae30b5b29c31f.tar.xz
Another fix for gcc 3.3.x.
base/statistics.hh: Make a couple of typedefs public rather than protected. g++ 3.3 complains otherwise. --HG-- extra : convert_revision : 6a8e4edb0c39474c0e0c7bc474ad0f22b9fb8505
-rw-r--r--base/statistics.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/statistics.hh b/base/statistics.hh
index 732d1766a..ed3278e4a 100644
--- a/base/statistics.hh
+++ b/base/statistics.hh
@@ -1138,6 +1138,8 @@ class Vector2dBase : public DataAccess
protected:
typedef Storage<T> storage_t;
typedef typename storage_t::Params params_t;
+
+ public:
typedef typename Bin::VectorBin<storage_t> bin_t;
protected:
@@ -1675,6 +1677,8 @@ class VectorDistBase : public DataAccess
protected:
typedef Storage<T> storage_t;
typedef typename storage_t::Params params_t;
+
+ public:
typedef typename Bin::VectorBin<storage_t> bin_t;
protected: