diff --git a/Code/ApplicationEngine/otbWrapperParameterKey.cxx b/Code/ApplicationEngine/otbWrapperParameterKey.cxx index 4e57bffc46e6108e8c57ebf1c3f96f362eb0c650..b973706e971f4ec9f3c86490eeec710fe80d1818 100644 --- a/Code/ApplicationEngine/otbWrapperParameterKey.cxx +++ b/Code/ApplicationEngine/otbWrapperParameterKey.cxx @@ -24,13 +24,13 @@ namespace otb namespace Wrapper { - ParameterKey::ParameterKey() : m_Key("") +ParameterKey::ParameterKey() : m_Key("") { } ParameterKey::ParameterKey( const char * val ) { - this->SetKey(val); + this->SetKey(std::string(val)); } ParameterKey::ParameterKey( const std::string & val )