From 1df4cd3f8cc32fa5aa821ef9b06a14d51a391235 Mon Sep 17 00:00:00 2001 From: fredb Date: Sun, 25 Apr 2010 16:11:30 +0000 Subject: [PATCH] setState doesn't return a value --- src/ATC/trafficcontrol.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5