OSDN Git Service

Fix sim build.
authorAndy McFadden <fadden@android.com>
Tue, 7 Jul 2009 17:01:12 +0000 (10:01 -0700)
committerAndy McFadden <fadden@android.com>
Tue, 7 Jul 2009 17:01:12 +0000 (10:01 -0700)
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

index 4041a89..403cd7f 100644 (file)
@@ -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: