Initialize all members.
This commit is contained in:
parent
c0b84d69f5
commit
cbb7523535
1 changed files with 6 additions and 1 deletions
|
@ -18,7 +18,12 @@
|
|||
|
||||
#define PI 3.14159265
|
||||
|
||||
joystick_manager::joystick_manager() : joysticks_() {}
|
||||
joystick_manager::joystick_manager()
|
||||
: joysticks_()
|
||||
, joystick_area_(0)
|
||||
, counter_(0)
|
||||
{
|
||||
}
|
||||
|
||||
joystick_manager::~joystick_manager() {
|
||||
// Close if opened
|
||||
|
|
Loading…
Add table
Reference in a new issue