support C++20, reduce warning
This commit is contained in:
parent
d80802ce9e
commit
103b0d845d
@ -12,11 +12,11 @@ namespace hgl
|
||||
{
|
||||
private:
|
||||
|
||||
DWORD result;
|
||||
DWORD result=0;
|
||||
|
||||
void *console_handle;
|
||||
void *console_handle=nullptr;
|
||||
|
||||
u16char buf[LOG_BUF_SIZE];
|
||||
u16char buf[LOG_BUF_SIZE]{};
|
||||
|
||||
public:
|
||||
|
||||
|
@ -10,7 +10,7 @@ namespace hgl
|
||||
{
|
||||
UTF16String name;
|
||||
|
||||
u16char buf[4096];
|
||||
u16char buf[4096]{};
|
||||
|
||||
public:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user