From 74598566ba4190be4125cea2f087a813f450fbdf Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Tue, 7 Jul 2009 10:01:12 -0700 Subject: [PATCH] Fix sim build. Looks like older gcc (4.1.x) doesn't properly handle templated fanciness. Apparently that's what we have on the build server. --- include/utils/List.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/utils/List.h b/include/utils/List.h index 4041a891251ee..403cd7f1e5402 100644 --- a/include/utils/List.h +++ b/include/utils/List.h @@ -154,9 +154,9 @@ protected: inline _NodePtr getNode() const { return mpNode; } + _NodePtr mpNode; /* should be private, but older gcc fails */ private: friend class List; - _NodePtr mpNode; }; public: