Another fix for gcc 3.3.x.
authorSteve Reinhardt <stever@eecs.umich.edu>
Tue, 16 Dec 2003 04:56:47 +0000 (20:56 -0800)
committerSteve Reinhardt <stever@eecs.umich.edu>
Tue, 16 Dec 2003 04:56:47 +0000 (20:56 -0800)
base/statistics.hh:
    Make a couple of typedefs public rather than protected.
    g++ 3.3 complains otherwise.

--HG--
extra : convert_revision : 6a8e4edb0c39474c0e0c7bc474ad0f22b9fb8505

base/statistics.hh

index 732d1766afcfa7d3007a9f1b026db73fd2879ca3..ed3278e4a98fc5f7671b7c6755bb9206dcea9396 100644 (file)
@@ -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: