Skip to content

Commit

Permalink
Mark OpenSharedMemoryDataplaneBuffers inline
Browse files Browse the repository at this point in the history
This is a function defined in a header hence it should be inline
  • Loading branch information
ol-imorozko committed Oct 1, 2024
1 parent b5542b6 commit 9e8eb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ inline void Call(F&& func, const std::vector<std::string>& string_args)
std::apply(std::forward<F>(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)
{
Expand Down

0 comments on commit 9e8eb02

Please sign in to comment.