Skip to content
Snippets Groups Projects
Commit 73b61450 authored by Julien Michel's avatar Julien Michel
Browse files

STY: Use default constructor/destructor

parent 50e634e5
No related branches found
No related tags found
No related merge requests found
......@@ -133,10 +133,10 @@ public:
protected:
/** Constructor */
Parameter();
Parameter() = default;
/** Destructor */
~Parameter() override;
~Parameter() override = default;
/** Name of the parameter */
std::string m_Name;
......
......@@ -26,25 +26,6 @@ namespace otb
{
namespace Wrapper
{
// TODO: Constructor/destructor
Parameter::Parameter() :
m_Name(),
m_Description(),
m_Key(),
m_Mandatory( true ),
m_Active( false ),
m_UserValue( false ),
m_UserLevel( UserLevel_Basic ),
m_Role( Role_Input ),
m_Root( this )
{}
/** Destructor */
Parameter::~Parameter() {}
/** Set/get the parameter name */
void Parameter::SetName(const std::string& name)
{
......
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