diff --git a/rmf_utils/include/rmf_utils/clone_ptr.hpp b/rmf_utils/include/rmf_utils/clone_ptr.hpp index beaf46e..a1d23bc 100644 --- a/rmf_utils/include/rmf_utils/clone_ptr.hpp +++ b/rmf_utils/include/rmf_utils/clone_ptr.hpp @@ -39,7 +39,7 @@ class clone_ptr; //============================================================================== template -clone_ptr make_clone(Args&&... args); +clone_ptr make_clone(Args&& ... args); //============================================================================== template @@ -194,7 +194,7 @@ class clone_ptr //============================================================================== template -clone_ptr make_clone(Args&&... args) +clone_ptr make_clone(Args&& ... args) { return clone_ptr(new T(std::forward(args)...)); } diff --git a/rmf_utils/include/rmf_utils/impl_ptr.hpp b/rmf_utils/include/rmf_utils/impl_ptr.hpp index 52e9c2b..ec678db 100644 --- a/rmf_utils/include/rmf_utils/impl_ptr.hpp +++ b/rmf_utils/include/rmf_utils/impl_ptr.hpp @@ -320,7 +320,7 @@ inline bool operator>=(std::nullptr_t, const unique_impl_ptr& p) template -inline unique_impl_ptr make_unique_impl(Args&&... args) +inline unique_impl_ptr make_unique_impl(Args&& ... args) { return unique_impl_ptr(new T(std::forward( args)...), &details::default_delete); @@ -474,14 +474,14 @@ class impl_ptr : public unique_impl_ptr }; template -inline impl_ptr make_impl(Args&&... args) +inline impl_ptr make_impl(Args&& ... args) { return impl_ptr(new T(std::forward( args)...), &details::default_delete, &details::default_copy); } template -impl_ptr make_derived_impl(Args&&... args) +impl_ptr make_derived_impl(Args&& ... args) { return impl_ptr( new D(std::forward(args)...),