diff options
author | Dan Albert <danalbert@google.com> | 2014-09-09 15:07:07 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-09-09 15:22:48 -0700 |
commit | aeb8ab8c34343bd64a4b2247615ea3da97fa02f6 (patch) | |
tree | c6be328410bd67897bddacb8ad2c6109201af68d /services/surfaceflinger | |
parent | 86aeb9ef154d7aa63c58cbe5be62e5b61d6ae5fa (diff) | |
download | frameworks_native-aeb8ab8c34343bd64a4b2247615ea3da97fa02f6.zip frameworks_native-aeb8ab8c34343bd64a4b2247615ea3da97fa02f6.tar.gz frameworks_native-aeb8ab8c34343bd64a4b2247615ea3da97fa02f6.tar.bz2 |
Fix clang warnings about struct vs. class.
Change-Id: I9f26cd01ac3153efa6d77a4133686842e2d63203
Diffstat (limited to 'services/surfaceflinger')
-rw-r--r-- | services/surfaceflinger/DisplayDevice.h | 2 | ||||
-rw-r--r-- | services/surfaceflinger/DisplayHardware/HWComposer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/DisplayDevice.h b/services/surfaceflinger/DisplayDevice.h index 01a9d2e..46292a4 100644 --- a/services/surfaceflinger/DisplayDevice.h +++ b/services/surfaceflinger/DisplayDevice.h @@ -37,7 +37,7 @@ struct ANativeWindow; namespace android { -class DisplayInfo; +struct DisplayInfo; class DisplaySurface; class IGraphicBufferProducer; class Layer; diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.h b/services/surfaceflinger/DisplayHardware/HWComposer.h index 9f96113..30df461 100644 --- a/services/surfaceflinger/DisplayHardware/HWComposer.h +++ b/services/surfaceflinger/DisplayHardware/HWComposer.h @@ -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; |