Обновление подмодулей

This commit is contained in:
2019-10-27 10:42:16 +03:00
parent 821bd88cee
commit 7dedc13075
5 changed files with 12 additions and 11 deletions

View File

@ -19,7 +19,12 @@ struct QOverload
// this adds const to non-const objects (like std::as_const)
template < typename T >
Q_DECL_CONSTEXPR typename std::add_const< T >::type& qAsConst( T& t ) noexcept { return( t ); }
Q_DECL_CONSTEXPR typename std::add_const< T >::type& qAsConst( T& t ) noexcept
{
return( t );
}
// prevent rvalue arguments:
template < typename T >
void qAsConst( const T&& ) = delete;