Fixed warnings about field initialisation order.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@359 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-27 12:33:49 +00:00
parent ae7d236fdf
commit 105e1c325f
4 changed files with 7 additions and 8 deletions

View File

@ -37,11 +37,11 @@ IniFile::~IniFile()
Section::Section()
: name(""), comment(""), lines() {}
: lines(), name(""), comment("") {}
Section::Section(const std::string& _name)
: name(_name), comment(""), lines() {}
: lines(), name(_name), comment("") {}
Section::Section(const Section& other)

View File

@ -27,10 +27,9 @@
CWII_IPC_HLE_Device_FileIO::CWII_IPC_HLE_Device_FileIO(u32 _DeviceID, const std::string& _rDeviceName )
: IWII_IPC_HLE_Device(_DeviceID, _rDeviceName)
, m_pFileHandle(NULL)
, m_Seek(0)
, m_FileLength(0)
, m_Seek(0)
{
m_FileLength = 0;
}
// __________________________________________________________________________________________________

View File

@ -26,8 +26,8 @@ CWII_IPC_HLE_Device_usb_oh1_57e_305::CWII_IPC_HLE_Device_usb_oh1_57e_305(u32 _De
, m_ACLAnswer(false)
, m_pACLBuffer(NULL)
, m_pHCIBuffer(NULL)
, scan_enable(0)
, m_State(STATE_NONE)
, scan_enable(0)
{
m_WiiMotes.push_back(CWII_IPC_HLE_WiiMote(this, 0));

View File

@ -117,8 +117,8 @@ struct SL2CAP_CommandConfigurationResponse // 0x05
#define USB_HLE_LOG DSPHLE
CWII_IPC_HLE_WiiMote::CWII_IPC_HLE_WiiMote(CWII_IPC_HLE_Device_usb_oh1_57e_305* _pHost, int _Number)
: m_pHost(_pHost)
, m_Name("Nintendo RVL-CNT-01")
: m_Name("Nintendo RVL-CNT-01")
, m_pHost(_pHost)
{
m_BD.b[0] = 0x11;
m_BD.b[1] = 0x02;