Fix macos compile error
This commit is contained in:
parent
5c2203b0f3
commit
1e8ad7a2f1
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue