Обновление подмодулей
This commit is contained in:
Submodule cmake/cmlib updated: 36073091bc...28e7c7ffa2
Submodule cmake/etc/uncrustify updated: 8b08ebee41...0aae214a4c
@ -68,9 +68,7 @@ int getExecutablePath( char* out, int capacity, int* dirname_length )
|
||||
|
||||
if ( dirname_length )
|
||||
{
|
||||
int i;
|
||||
|
||||
for ( i = length - 1; i >= 0; --i )
|
||||
for ( int i = length - 1; i >= 0; --i )
|
||||
{
|
||||
if ( out[i] == '/' )
|
||||
{
|
||||
@ -156,9 +154,7 @@ int getModulePath( char* out, int capacity, int* dirname_length )
|
||||
|
||||
if ( dirname_length )
|
||||
{
|
||||
int i;
|
||||
|
||||
for ( i = length - 1; i >= 0; --i )
|
||||
for ( int i = length - 1; i >= 0; --i )
|
||||
{
|
||||
if ( out[i] == '/' )
|
||||
{
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user