From 44177b0362a8df743bbbae46bebd9cb4397ea832 Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Sun, 26 Dec 2021 20:28:31 -0600 Subject: [PATCH] runwayprefs: make argument const --- src/Airports/runwayprefs.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); }; };