Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rmf_utils/include/rmf_utils/clone_ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class clone_ptr;

//==============================================================================
template<typename T, typename... Args>
clone_ptr<T> make_clone(Args&&... args);
clone_ptr<T> make_clone(Args&& ... args);

//==============================================================================
template<typename T>
Expand Down Expand Up @@ -194,7 +194,7 @@ class clone_ptr

//==============================================================================
template<typename T, typename... Args>
clone_ptr<T> make_clone(Args&&... args)
clone_ptr<T> make_clone(Args&& ... args)
{
return clone_ptr<T>(new T(std::forward<Args>(args)...));
}
Expand Down
6 changes: 3 additions & 3 deletions rmf_utils/include/rmf_utils/impl_ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ inline bool operator>=(std::nullptr_t, const unique_impl_ptr<T, D>& p)


template<class T, class... Args>
inline unique_impl_ptr<T> make_unique_impl(Args&&... args)
inline unique_impl_ptr<T> make_unique_impl(Args&& ... args)
{
return unique_impl_ptr<T>(new T(std::forward<Args>(
args)...), &details::default_delete<T>);
Expand Down Expand Up @@ -474,14 +474,14 @@ class impl_ptr : public unique_impl_ptr<T, Deleter>
};

template<class T, class... Args>
inline impl_ptr<T> make_impl(Args&&... args)
inline impl_ptr<T> make_impl(Args&& ... args)
{
return impl_ptr<T>(new T(std::forward<Args>(
args)...), &details::default_delete<T>, &details::default_copy<T>);
}

template<class U, class D, class... Args>
impl_ptr<U> make_derived_impl(Args&&... args)
impl_ptr<U> make_derived_impl(Args&& ... args)
{
return impl_ptr<U>(
new D(std::forward<Args>(args)...),
Expand Down