From f1adb3625e26a07dfe34f783630d876c51586ecd Mon Sep 17 00:00:00 2001 From: Ivan Morozko Date: Tue, 1 Oct 2024 15:03:06 +0400 Subject: [PATCH] Mark OpenSharedMemoryDataplaneBuffers inline This is a function defined in a header hence it should be inline --- cli/helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/helper.h b/cli/helper.h index 00955a9b..4e8fd857 100644 --- a/cli/helper.h +++ b/cli/helper.h @@ -94,7 +94,7 @@ inline void Call(F&& func, const std::vector& string_args) std::apply(std::forward(func), args_tuple); } -void OpenSharedMemoryDataplaneBuffers(common::sdp::DataPlaneInSharedMemory& sdp_data, bool open_workers_data) +inline void OpenSharedMemoryDataplaneBuffers(common::sdp::DataPlaneInSharedMemory& sdp_data, bool open_workers_data) { if (common::sdp::SdpClient::ReadSharedMemoryData(sdp_data, open_workers_data) != eResult::success) {