Commit 04dca645 authored by Julien Malik's avatar Julien Malik

COMP: bug found when compiling on Windows

parent 5605f526
......@@ -35,18 +35,18 @@ enum DefaultValueMode
* This parameter has no default behaviour and should be set by
* the user.
*/
UNKNOWN,
DefaultValueMode_UNKNOWN,
/**
* The default value of this parameter can be estimated from
* other parameters.
*/
RELATIVE,
DefaultValueMode_RELATIVE,
/**
* The default value of this parameter is not depending on any
* other parameter.
*/
ABSOLUTE
DefaultValueMode_ABSOLUTE
};
......@@ -167,7 +167,7 @@ protected:
m_Description(""),
m_Key(""),
m_Mandatory(true),
m_DefaultValueMode(UNKNOWN)
m_DefaultValueMode(DefaultValueMode_UNKNOWN)
{}
/** Destructor */
......
......@@ -371,7 +371,7 @@ ParameterGroup::GetParameterByKey(std::string name)
unsigned int
ParameterGroup::GetNumberOfParameters()
{
m_ParameterList.size();
return m_ParameterList.size();
}
}
......
......@@ -17,9 +17,9 @@ namespace Wrapper
enum DefaultValueMode
{
UNKNOWN,
RELATIVE,
ABSOLUTE
DefaultValueMode_UNKNOWN,
DefaultValueMode_RELATIVE,
DefaultValueMode_ABSOLUTE
};
typedef enum
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment