From: fredb Date: Sun, 25 Apr 2010 16:11:30 +0000 (+0000) Subject: setState doesn't return a value X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1df4cd3f8cc32fa5aa821ef9b06a14d51a391235;p=flightgear.git setState doesn't return a value --- diff --git a/src/ATC/trafficcontrol.hxx b/src/ATC/trafficcontrol.hxx index e7bb3f3e1..d069a5b84 100644 --- a/src/ATC/trafficcontrol.hxx +++ b/src/ATC/trafficcontrol.hxx @@ -129,7 +129,7 @@ public: void setLeg(int lg) { leg = lg;}; int getId() { return id;}; int getState() { return state;}; - int setState(int s) { state = s;} + void setState(int s) { state = s;} FGATCInstruction getInstruction() { return instruction;}; bool hasInstruction() { return instruction.hasInstruction(); }; void setPositionAndHeading(double lat, double lon, double hdg, double spd, double alt);