Skip to content

Commit

Permalink
Adding fwd declaration for testing cyclic dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaltyagi committed Mar 1, 2020
1 parent 28a90cc commit b6f6436
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/include/pcl/make_shared.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ shared_ptr<T> make_shared(Args&&... args);

#else

template <typename T>
struct has_custom_allocator;

template<typename T, typename ... Args>
std::enable_if_t<has_custom_allocator<T>::value, shared_ptr<T>> make_shared(Args&&... args)
{
Expand Down

0 comments on commit b6f6436

Please sign in to comment.