From 936f6c490bb6704102159aa4d5045449e3e20f64 Mon Sep 17 00:00:00 2001 From: i7-8700 <1281261856@qq.com> Date: Thu, 20 Aug 2020 22:44:06 +0800 Subject: [PATCH] fix gcc cry --- include/hb_detail.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hb_detail.h b/include/hb_detail.h index d310a00..fe345eb 100644 --- a/include/hb_detail.h +++ b/include/hb_detail.h @@ -414,8 +414,8 @@ typedef ReadMachineAcctRequest WriteMachineAcctResponse; //! 三区段主机索è¦ä¸»æœºçŠ¶æ€ EB CB 3F 06 B0 AB struct MachineStatusRequest3Section { - static constexpr Char len = 6; - static constexpr Char data[len] = { 0xEB, 0xCB, 0x3F, 0x06, 0xB0, 0xAB }; + static constexpr const Char len = 6; + static constexpr const Char data[len] = { 0xEB, 0xCB, 0x3F, 0x06, 0xB0, 0xAB }; }; typedef MachineStatusRequest3Section B0; -- 2.18.1