Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2362b44 authored by Colin Cross's avatar Colin Cross
Browse files

Fix struct vs. class mismatch in forward definitions

The warnings were being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: If2bae8b2fbc4238d6251cdd78bc7b5216684f99d
parent 382ecd3d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -35,8 +35,8 @@
namespace android {
namespace android {
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------


class ComposerState;
struct ComposerState;
class DisplayState;
struct DisplayState;
struct DisplayInfo;
struct DisplayInfo;
struct DisplayStatInfo;
struct DisplayStatInfo;
class HdrCapabilities;
class HdrCapabilities;
+1 −1
Original line number Original line Diff line number Diff line
@@ -38,7 +38,7 @@ namespace android {


// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------


class DisplayInfo;
struct DisplayInfo;
class Composer;
class Composer;
class HdrCapabilities;
class HdrCapabilities;
class ISurfaceComposerClient;
class ISurfaceComposerClient;
+1 −1
Original line number Original line Diff line number Diff line
@@ -104,7 +104,7 @@ private:


    // Buffer descriptor lifecycle functions
    // Buffer descriptor lifecycle functions


    class Descriptor;
    struct Descriptor;


    gralloc1_error_t createDescriptor(
    gralloc1_error_t createDescriptor(
            gralloc1_buffer_descriptor_t* outDescriptor);
            gralloc1_buffer_descriptor_t* outDescriptor);