Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1732 Fix Bazel build
Browse files Browse the repository at this point in the history
Signed-off-by: Marika Lehmann <[email protected]>
  • Loading branch information
FerdinandSpitzschnueffler committed Jan 16, 2023
1 parent c105b3b commit 5f29621
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions iceoryx_hoofs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ cc_library(
"source/**/*.cpp",
"vocabulary/source/**/*.cpp",
"source/**/*.hpp",
"memory/source/*.cpp",
]),
hdrs = glob(["include/**"]) + glob(["legacy/**"]) + glob(["memory/**"]) + glob(["container/**"]) + glob(["vocabulary/**"]) + [
":iceoryx_hoofs_deployment_hpp",
Expand Down
4 changes: 2 additions & 2 deletions iceoryx_posh/include/iceoryx_posh/internal/mepoo/mem_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class MemPool

MemPool(const cxx::greater_or_equal<uint32_t, CHUNK_MEMORY_ALIGNMENT> chunkSize,
const cxx::greater_or_equal<uint32_t, 1> numberOfChunks,
BumpAllocator& managementAllocator,
BumpAllocator& chunkMemoryAllocator) noexcept;
iox::BumpAllocator& managementAllocator,
iox::BumpAllocator& chunkMemoryAllocator) noexcept;

MemPool(const MemPool&) = delete;
MemPool(MemPool&&) = delete;
Expand Down
4 changes: 2 additions & 2 deletions iceoryx_posh/source/mepoo/mem_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ constexpr uint64_t MemPool::CHUNK_MEMORY_ALIGNMENT;

MemPool::MemPool(const cxx::greater_or_equal<uint32_t, CHUNK_MEMORY_ALIGNMENT> chunkSize,
const cxx::greater_or_equal<uint32_t, 1> numberOfChunks,
BumpAllocator& managementAllocator,
BumpAllocator& chunkMemoryAllocator) noexcept
iox::BumpAllocator& managementAllocator,
iox::BumpAllocator& chunkMemoryAllocator) noexcept
: m_chunkSize(chunkSize)
, m_numberOfChunks(numberOfChunks)
, m_minFree(numberOfChunks)
Expand Down

0 comments on commit 5f29621

Please sign in to comment.