From 4c463858b06cda3ab9c64c7981efd2e7970f4e9e Mon Sep 17 00:00:00 2001 From: Esteban Martinena Date: Wed, 7 Dec 2022 19:10:40 +0100 Subject: [PATCH] Fix uncrustify errors Signed-off-by: Esteban Martinena --- rmf_utils/include/rmf_utils/clone_ptr.hpp | 4 ++-- rmf_utils/include/rmf_utils/impl_ptr.hpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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)...),