Echelon9 / cxbx-shogun

shogun's mirrored branch of the Cxbx original Xbox emulator
GNU General Public License v2.0
33 stars 7 forks source link

Fix initializer order for Error() object. #19

Open Echelon9 opened 9 years ago

Echelon9 commented 9 years ago

Resolves the following Clang warning.

clang++ -g -O2 -Wall -I../../src -I../../src/Common/Linux -I../..src/Linux -o ../../src/Common/OpenXDK.o -c ../../src/Common/OpenXDK.cpp
In file included from ../../src/Common/OpenXDK.cpp:34:
In file included from ../../src/Common/Xbe.h:37:
../../src/Common/Error.h:54:19: warning: field 'm_szError' will be initialized
      after field 'm_bFatal' [-Wreorder]
        Error() : m_szError(0), m_bFatal(false) { }
                  ^
1 warning generated.