From a8f8443c3aa4cf6e643cdbadbff86a7d09755ab0 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期四, 20 五月 2021 09:41:03 +0800 Subject: [PATCH] rebuild proto --- utest/simple_tests.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utest/simple_tests.cpp b/utest/simple_tests.cpp index 33c78f5..e1f1d2f 100644 --- a/utest/simple_tests.cpp +++ b/utest/simple_tests.cpp @@ -107,8 +107,8 @@ BOOST_AUTO_TEST_CASE(TimedWaitTest) { SharedMemory &shm = TestShm(); - MsgI::BindShm(shm); - ShmMsgQueue q(shm, 64); + GlobalInit(shm); + ShmMsgQueue q(shm, ShmMsgQueue::NewId(), 64); for (int i = 0; i < 2; ++i) { int ms = i * 100; printf("Timeout Test %4d: ", ms); @@ -123,7 +123,7 @@ { SharedMemory &shm = TestShm(); typedef MsgI Msg; - Msg::BindShm(shm); + GlobalInit(shm); Msg m0(1000); BOOST_CHECK(m0.valid()); -- Gitblit v1.8.0