Skip to content

Commit af5c58e

Browse files
committed
Fixed Subprocess Warning
1 parent a4668b1 commit af5c58e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Src/Core/Subprocess.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ namespace p
6161
{
6262
uintptr_t Internal = 0;
6363
uintptr_t InternalHigh = 0;
64+
#pragma warning(disable:4201) // Avoid warning about nameless struct
6465
union
6566
{
6667
struct
@@ -70,6 +71,7 @@ namespace p
7071
} DUMMYSTRUCTNAME;
7172
void* Pointer;
7273
} DUMMYUNIONNAME;
74+
#pragma warning(default:4201)
7375

7476
void* hEvent = nullptr;
7577

0 commit comments

Comments
 (0)