Skip to content

Commit

Permalink
Remove duplicate declaration of shared_ptr_node_size
Browse files Browse the repository at this point in the history
  • Loading branch information
foonathan committed Jan 11, 2023
1 parent ac198bd commit 5e7530b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/foonathan/memory/smart_ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,18 +191,6 @@ namespace foonathan
detail::forward<RawAllocator>(alloc)),
detail::forward<Args>(args)...);
}

#if !defined(DOXYGEN)
#include "detail/container_node_sizes.hpp"
#else
/// Contains the node size needed for a `std::shared_ptr`.
/// These classes are auto-generated and only available if the tools are build and without cross-compiling.
/// \ingroup adapter
template <typename T>
struct shared_ptr_node_size : std::integral_constant<std::size_t, implementation_defined>
{
};
#endif
} // namespace memory
} // namespace foonathan

Expand Down

0 comments on commit 5e7530b

Please sign in to comment.