Applied new AStyle settings

This commit is contained in:
Robert Beckebans 2019-11-19 21:33:59 +01:00
parent 08cb9730e3
commit 527b1fbfd5
4 changed files with 10 additions and 10 deletions

View file

@ -601,7 +601,7 @@ ID_INLINE bool idStaticList<type, size>::RemoveIndex( int index )
num--;
for( i = index; i < num; i++ )
{
list[ i ] = std::move(list[ i + 1 ]);
list[ i ] = std::move( list[ i + 1 ] );
}
return true;

View file

@ -47,7 +47,7 @@ typedef uint32 dword;
// macros required by gimp-dds code:
#ifndef MIN
#ifdef __GNUC__
# define MIN(a, b) ({decltype(a) _a=(a); decltype(b) _b=(b); _a < _b ? _a : _b;})
#define MIN(a, b) ({decltype(a) _a=(a); decltype(b) _b=(b); _a < _b ? _a : _b;})
#else
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif

View file

@ -47,12 +47,12 @@ public:
idLocalUserWin() : inputDevice( 0 ) {}
idLocalUserWin& operator=(idLocalUserWin&& other)
{
gamertag = std::move(other.gamertag);
inputDevice = other.inputDevice;
return *this;
}
idLocalUserWin& operator=( idLocalUserWin&& other )
{
gamertag = std::move( other.gamertag );
inputDevice = other.inputDevice;
return *this;
}
//==========================================================================================
// idLocalUser interface

View file

@ -48,8 +48,8 @@ public:
idProfileMgr();
~idProfileMgr();
// Not copyable because we use unique_ptrs.
idProfileMgr& operator=(const idProfileMgr&) = delete;
// Not copyable because we use unique_ptrs.
idProfileMgr& operator=( const idProfileMgr& ) = delete;
// Called the first time it's asked to load
void Init( idLocalUser* user );