Update Controller.cpp

兼容clang编译
This commit is contained in:
gmh
2022-03-01 17:19:55 +08:00
committed by GitHub
parent 1adc865518
commit 43a167d54e

View File

@@ -30,7 +30,7 @@ asst::Controller::Controller()
#ifdef _WIN32
// 安全属性描述符
m_pipe_sec_attr.nLength = sizeof SECURITY_ATTRIBUTES;
m_pipe_sec_attr.nLength = sizeof(SECURITY_ATTRIBUTES);
m_pipe_sec_attr.lpSecurityDescriptor = nullptr;
m_pipe_sec_attr.bInheritHandle = TRUE;