summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/DisplayHardware
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2014-08-07 22:19:07 -0700
committerJesse Hall <jessehall@google.com>2014-10-31 09:51:10 -0700
commit1495ceb88594bf3c5963ef65ee12953dc0354546 (patch)
treecb2130e7f019ce69f5306f9f964afe0e549a52b7 /services/surfaceflinger/DisplayHardware
parent1834f8ea975e9a882b44dc479320fe02e306e630 (diff)
downloadframeworks_native-1495ceb88594bf3c5963ef65ee12953dc0354546.zip
frameworks_native-1495ceb88594bf3c5963ef65ee12953dc0354546.tar.gz
frameworks_native-1495ceb88594bf3c5963ef65ee12953dc0354546.tar.bz2
surfaceflinger: fix -Wmismatched-tags warnings
warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags] warning: class 'DisplayInfo' was previously declared as a struct [-Wmismatched-tags] Change-Id: I13db9f8aab3a957ce8ff8d64598dae1807d6fe7e (cherry picked from commit 646f54105018e99ef4a30ee41f01f7d1ab66c38e)
Diffstat (limited to 'services/surfaceflinger/DisplayHardware')
-rw-r--r--services/surfaceflinger/DisplayHardware/HWComposer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.h b/services/surfaceflinger/DisplayHardware/HWComposer.h
index 5cb56a0..a62ac5c 100644
--- a/services/surfaceflinger/DisplayHardware/HWComposer.h
+++ b/services/surfaceflinger/DisplayHardware/HWComposer.h
@@ -196,7 +196,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;