Skip to content

Commit

Permalink
code format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowhatter committed Dec 26, 2024
1 parent 0e9ace8 commit b3d0a47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rmw_zenoh_cpp/src/detail/shm_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ namespace rmw_zenoh_cpp
///=============================================================================
#ifdef RMW_ZENOH_BUILD_WITH_SHARED_MEMORY
ShmContext::ShmContext(size_t alloc_size, size_t msgsize_threshold)
: // Create Layout for provider's memory
// Provider's alignment will be 1 byte as we are going to make only 1-byte aligned allocations
// TODO(yellowhatter): use zenoh_shm_message_size_threshold as base for alignment
: // Create Layout for provider's memory
// Provider's alignment will be 1 byte as we are going to make only 1-byte aligned allocations
// TODO(yellowhatter): use zenoh_shm_message_size_threshold as base for alignment
shm_provider(zenoh::PosixShmProvider(zenoh::MemoryLayout(alloc_size, zenoh::AllocAlignment {0}))),
msgsize_threshold(msgsize_threshold)
{}
Expand Down

0 comments on commit b3d0a47

Please sign in to comment.