From 66e06205030cfc72f9aeeac57acfd6cbff0c1b8a Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Thu, 29 Oct 2009 10:19:34 -0700 Subject: Another gcc 4.0.3 workaround. Temporarily make a function public that doesn't need to be. When host gcc-4.0.3 is gone from the build servers we can undo this. --- libs/surfaceflinger/SurfaceFlinger.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/surfaceflinger/SurfaceFlinger.h b/libs/surfaceflinger/SurfaceFlinger.h index 6698e00..f9bfe6c 100644 --- a/libs/surfaceflinger/SurfaceFlinger.h +++ b/libs/surfaceflinger/SurfaceFlinger.h @@ -246,8 +246,10 @@ private: virtual status_t readyToRun(); virtual void onFirstRef(); +public: // hack to work around gcc 4.0.3 bug const GraphicPlane& graphicPlane(int dpy) const; GraphicPlane& graphicPlane(int dpy); +private: void waitForEvent(); public: // hack to work around gcc 4.0.3 bug -- cgit v1.1