From f50201865f2e338dc6760a35fcdfa9e331eadc93 Mon Sep 17 00:00:00 2001 From: leafly2021 Date: Tue, 31 May 2022 09:02:11 +0800 Subject: [PATCH] modify struct define Signed-off-by: leafly2021 Change-Id: I2390dc445dd5686a2983f23961e971cdb0da085f --- snapshot/snapshot_utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snapshot/snapshot_utils.h b/snapshot/snapshot_utils.h index baf84326..e71a5db8 100644 --- a/snapshot/snapshot_utils.h +++ b/snapshot/snapshot_utils.h @@ -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;