Fix macos compile error

This commit is contained in:
Rob Taylor 2023-10-09 22:58:50 +01:00 committed by Rob Taylor
parent 5c2203b0f3
commit 1e8ad7a2f1
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ namespace Cfg {
Parameter* Configuration::getParameter ( string name, Parameter::Type type ) const
{
map<string,Parameter*>::const_iterator iparameter = _parameters.find(name);
map<const string,Parameter*>::const_iterator iparameter = _parameters.find(name);
if ( iparameter == _parameters.end() ) return NULL;
if ( type != Parameter::Unknown ) {