OSDN Git Service

Fix clang warnings about struct vs. class.
authorDan Albert <danalbert@google.com>
Tue, 9 Sep 2014 22:07:07 +0000 (15:07 -0700)
committerDan Albert <danalbert@google.com>
Tue, 9 Sep 2014 22:22:48 +0000 (15:22 -0700)
Change-Id: I9f26cd01ac3153efa6d77a4133686842e2d63203

include/gui/ISurfaceComposer.h
services/surfaceflinger/DisplayDevice.h
services/surfaceflinger/DisplayHardware/HWComposer.h

index 5c3c99c..ffc44c7 100644 (file)
@@ -35,7 +35,7 @@ namespace android {
 
 class ComposerState;
 class DisplayState;
-class DisplayInfo;
+struct DisplayInfo;
 class IDisplayEventConnection;
 class IMemoryHeap;
 
index 01a9d2e..46292a4 100644 (file)
@@ -37,7 +37,7 @@ struct ANativeWindow;
 
 namespace android {
 
-class DisplayInfo;
+struct DisplayInfo;
 class DisplaySurface;
 class IGraphicBufferProducer;
 class Layer;
index 9f96113..30df461 100644 (file)
@@ -191,7 +191,7 @@ public:
      * This behaves more or less like a forward iterator.
      */
     class LayerListIterator {
-        friend struct HWComposer;
+        friend class HWComposer;
         HWCLayer* const mLayerList;
         size_t mIndex;