Fix clang warnings about struct vs. class.

Change-Id: I9f26cd01ac3153efa6d77a4133686842e2d63203
This commit is contained in:
Dan Albert 2014-09-09 15:07:07 -07:00
parent 86aeb9ef15
commit aeb8ab8c34
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ namespace android {
class ComposerState; class ComposerState;
class DisplayState; class DisplayState;
class DisplayInfo; struct DisplayInfo;
class IDisplayEventConnection; class IDisplayEventConnection;
class IMemoryHeap; class IMemoryHeap;

View File

@ -37,7 +37,7 @@ struct ANativeWindow;
namespace android { namespace android {
class DisplayInfo; struct DisplayInfo;
class DisplaySurface; class DisplaySurface;
class IGraphicBufferProducer; class IGraphicBufferProducer;
class Layer; class Layer;

View File

@ -191,7 +191,7 @@ public:
* This behaves more or less like a forward iterator. * This behaves more or less like a forward iterator.
*/ */
class LayerListIterator { class LayerListIterator {
friend struct HWComposer; friend class HWComposer;
HWCLayer* const mLayerList; HWCLayer* const mLayerList;
size_t mIndex; size_t mIndex;