From: James Turner Date: Thu, 24 Mar 2016 20:23:39 +0000 (+0000) Subject: Fix iterator const-ness. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6fc24034495c8a9932600e366615d500f1a5a66a;p=flightgear.git Fix iterator const-ness. --- diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 6ae8d9a62..77cba345c 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -2228,7 +2228,7 @@ int Options::setOption(const string &key, const string &value) } if (!(desc->type & OPTION_MULTI)) { - OptionValueVec::const_iterator it = p->findValue(key); + OptionValueVec::iterator it = p->findValue(key); if (it != p->values.end()) { // remove existing valye p->values.erase(it);