CVS: source/src/ATC trafficcontrol.hxx, 1.9, 1.10

Frederic Bouvier <[email protected]> Sun, 25 Apr 2010 11:11:34 -0500
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/source/src/ATC
In directory baron.flightgear.org:/tmp/cvs-serv15966/src/ATC

Modified Files:
	trafficcontrol.hxx 
Log Message:
setState doesn't return a value

Index: trafficcontrol.hxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/ATC/trafficcontrol.hxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- trafficcontrol.hxx	25 Apr 2010 08:33:26 -0000	1.9
+++ trafficcontrol.hxx	25 Apr 2010 16:11:30 -0000	1.10
@@ -129,7 +129,7 @@
   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);


------------------------------------------------------------------------------