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

Commit 1bf71ef1 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix google-explicit-constructor warnings in HardwareAPI.

* Add explicit keyword to conversion constructors.
Bug: 28341362
Test: build with WITH_TIDY=1

Change-Id: I48521040417aec068795d45aaa2a3870596f9a96
parent 0322a717
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -270,7 +270,7 @@ struct DescribeColorFormatParams {
    // output: fill out the MediaImage fields
    // output: fill out the MediaImage fields
    MediaImage sMediaImage;
    MediaImage sMediaImage;


    DescribeColorFormatParams(const DescribeColorFormat2Params&); // for internal use only
    explicit DescribeColorFormatParams(const DescribeColorFormat2Params&); // for internal use only
};
};


// A pointer to this struct is passed to OMX_GetParameter when the extension
// A pointer to this struct is passed to OMX_GetParameter when the extension