Skip to content

Commit

Permalink
Fix compile error with container.hpp when FOONATHAN_MEMORY_NO_NODE_SI…
Browse files Browse the repository at this point in the history
…ZE is set (#59)
  • Loading branch information
wtsnyder authored and foonathan committed Nov 15, 2019
1 parent b975994 commit 219213a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/foonathan/memory/container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ namespace foonathan
/// @}
#endif

#if !defined(FOONATHAN_MEMORY_NO_NODE_SIZE)
/// The node size required by \ref allocate_shared.
/// \note This is similar to \ref shared_ptr_node_size but takes a
/// \concept{concept_rawallocator,RawAllocator} instead.
Expand All @@ -376,6 +377,7 @@ namespace foonathan
: shared_ptr_node_size<T, std_allocator<T, RawAllocator, Mutex>>
{
};
#endif
} // namespace memory
} // namespace foonathan

Expand Down

0 comments on commit 219213a

Please sign in to comment.