From b89b22c0ea7e78b5ec2471d5cf14b67ef407d43d Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 7 Jun 2020 15:26:02 +0300 Subject: [PATCH] Fixed initialized flag not being set correctly. --- include/boost/interprocess/detail/win32_api.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/interprocess/detail/win32_api.hpp b/include/boost/interprocess/detail/win32_api.hpp index 1bff8c3..897b440 100644 --- a/include/boost/interprocess/detail/win32_api.hpp +++ b/include/boost/interprocess/detail/win32_api.hpp @@ -723,7 +723,7 @@ class interprocess_all_access_security sa.lpSecurityDescriptor = &sd; sa.nLength = sizeof(interprocess_security_attributes); sa.bInheritHandle = false; - initialized = false; + initialized = true; } interprocess_security_attributes *get_attributes()