diff --git a/cmake/etc/uncrustify b/cmake/etc/uncrustify index 878e1d8..eb34f3f 160000 --- a/cmake/etc/uncrustify +++ b/cmake/etc/uncrustify @@ -1 +1 @@ -Subproject commit 878e1d8a27f1512d5c39fb8fdad467ba5f6d8285 +Subproject commit eb34f3ffb32205b382c4ee56de890b5de9371fa7 diff --git a/src/myx/math/functions.hpp b/src/myx/math/functions.hpp index cb8d347..0092ea5 100644 --- a/src/myx/math/functions.hpp +++ b/src/myx/math/functions.hpp @@ -15,7 +15,7 @@ namespace math { * \return Квадрат значения */ template < typename T > -auto pow2( T const& value )->decltype( boost::math::pow< 2 >( value ) ) +auto pow2( T const& value ) -> decltype( boost::math::pow< 2 >( value ) ) { return( boost::math::pow< 2 >( value ) ); } diff --git a/src/myx/qt/backports.hpp b/src/myx/qt/backports.hpp index 50066f6..a45b10f 100644 --- a/src/myx/qt/backports.hpp +++ b/src/myx/qt/backports.hpp @@ -11,7 +11,7 @@ template< typename ... Args > struct QOverload { template< typename C, typename R > - static constexpr auto of( R ( C::* pmf )( Args... ) )->decltype( pmf ) + static constexpr auto of( R ( C::* pmf )( Args... ) ) -> decltype( pmf ) { return( pmf ); }