modify struct define

Signed-off-by: leafly2021 <figo.yefei@huawei.com>
Change-Id: I2390dc445dd5686a2983f23961e971cdb0da085f
This commit is contained in:
leafly2021
2022-05-31 09:02:11 +08:00
parent 0197bc4d59
commit f50201865f
+2 -2
View File
@@ -24,7 +24,7 @@
#include "display_manager.h"
namespace OHOS {
using WriteToPngParam = struct {
struct WriteToPngParam {
uint32_t width;
uint32_t height;
uint32_t stride;
@@ -32,7 +32,7 @@ using WriteToPngParam = struct {
const uint8_t *data;
};
using CmdArgments = struct {
struct CmdArgments {
bool isDisplayIdSet = false;
Rosen::DisplayId displayId = Rosen::DISPLAY_ID_INVALID;
std::string fileName;