Skip to content
Snippets Groups Projects
Commit daf98635 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: SetKey takes a std::string reference

parent 821edc12
No related branches found
No related tags found
No related merge requests found
......@@ -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 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment