BangBangControl.cpp: In member function ‘int BangBangControl::update()’:
BangBangControl.cpp:31: error: request for member ‘tick’ in ‘((BangBangControl*)this)->BangBangControl::heatingUnit’, which is of non-class type ‘HeatingUnit*’
BangBangControl.cpp:32: error: request for member ‘turnOff’ in ‘((BangBangControl*)this)->BangBangControl::heatingUnit’, which is of non-class type ‘HeatingUnit*’
BangBangControl.cpp:33: error: request for member ‘turnOn’ in ‘((BangBangControl*)this)->BangBangControl::heatingUnit’, which is of non-class type ‘HeatingUnit*’