diff --git a/src/Airports/runwayprefs.hxx b/src/Airports/runwayprefs.hxx index 8ce66ad8c..97704f5f6 100644 --- a/src/Airports/runwayprefs.hxx +++ b/src/Airports/runwayprefs.hxx @@ -140,10 +140,10 @@ public: bool available() { return initialized; }; void setInitialized(bool state) { initialized = state; }; - void setMilTimes(ScheduleTime& t) { milTimes = t; }; - void setGenTimes(ScheduleTime& t) { genTimes = t; }; - void setComTimes(ScheduleTime& t) { comTimes = t; }; - void setULTimes (ScheduleTime& t) { ulTimes = t; }; + void setMilTimes(const ScheduleTime& t) { milTimes = t; }; + void setGenTimes(const ScheduleTime& t) { genTimes = t; }; + void setComTimes(const ScheduleTime& t) { comTimes = t; }; + void setULTimes (const ScheduleTime& t) { ulTimes = t; }; void addRunwayGroup(RunwayGroup& g) { preferences.push_back(g); }; };