SmoothControl::~SmoothControl()
{
- pair(0);
+ pair(nullptr);
}
void SmoothControl::set_dead_zone(float d)
if(paired_ctrl)
{
SmoothControl *old_pair = paired_ctrl;
- paired_ctrl = 0;
- old_pair->pair(0);
+ paired_ctrl = nullptr;
+ old_pair->pair(nullptr);
}
paired_ctrl = ctrl;