artf4107: Uniform initialization syntax introduced

Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
Tyler Veness
2015-06-24 01:06:29 -07:00
parent b1befed14f
commit 368ad30d37
179 changed files with 379 additions and 831 deletions

View File

@@ -26,10 +26,7 @@ static bool joySticksInitialized = false;
* @param port The port on the driver station that the joystick is plugged into.
*/
Joystick::Joystick(uint32_t port)
: m_ds (nullptr)
, m_port (port)
, m_axes (nullptr)
, m_buttons (nullptr)
: m_port (port)
{
InitJoystick(kNumAxisTypes, kNumButtonTypes);
@@ -54,10 +51,7 @@ Joystick::Joystick(uint32_t port)
* @param numButtonTypes The number of button types in the enum.
*/
Joystick::Joystick(uint32_t port, uint32_t numAxisTypes, uint32_t numButtonTypes)
: m_ds (nullptr)
, m_port (port)
, m_axes (nullptr)
, m_buttons (nullptr)
: m_port (port)
{
InitJoystick(numAxisTypes, numButtonTypes);
}