From 6defb03088aca1a294b8fc49fceea3f893381b65 Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Thu, 11 Apr 2024 11:48:37 +0200 Subject: [PATCH] Fix build on unit test Signed-off-by: Miguel Company --- test/unittest/transport/SharedMemTests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unittest/transport/SharedMemTests.cpp b/test/unittest/transport/SharedMemTests.cpp index 5a49eb9ed05..0e5c40c36be 100644 --- a/test/unittest/transport/SharedMemTests.cpp +++ b/test/unittest/transport/SharedMemTests.cpp @@ -1033,6 +1033,8 @@ TEST_F(SHMTransportTests, port_lock_read_shared_then_exclusive) // Regression test for redmine issue #20701 TEST_F(SHMTransportTests, port_lock_read_exclusive_then_shared) { + const std::string domain_name("SHMTests"); + auto shared_mem_manager = SharedMemManager::create(domain_name); shared_mem_manager->remove_port(0);