Base: modernize C++11

* remove redundant void-arg
* use nullptr
* replace deprecated headers
This commit is contained in:
wmayer
2022-01-25 20:21:30 +01:00
parent 6c29c65013
commit cad0d01883
72 changed files with 628 additions and 633 deletions

View File

@@ -25,7 +25,7 @@
#include "Swap.h"
unsigned short Base::SwapOrder (void)
unsigned short Base::SwapOrder ()
{
unsigned short usDummy = 1;
return *((char*) &usDummy) == 1 ? LOW_ENDIAN : HIGH_ENDIAN;