warning: ‘Active’ will be initialized after 'CanWait'

This commit is contained in:
Scott Giese 2020-11-23 16:08:55 -06:00
parent 62f3923692
commit c469f072f1

View File

@ -63,7 +63,7 @@ namespace nasal
class NasalMainLoopRecipient : public simgear::Emesary::IReceiver {
public:
NasalMainLoopRecipient() : receiveCount(0), Active(false), CanWait(false) {
NasalMainLoopRecipient() : receiveCount(0), CanWait(false), Active(false) {
simgear::Emesary::GlobalTransmitter::instance()->Register(*this);
}
virtual ~NasalMainLoopRecipient() {