Commit 5fb16173 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

added default value to no-case parameter in charstring and universal...


added default value to no-case parameter in charstring and universal charstring constructors for backward compatibility

Change-Id: I8b8767a1f8ece9fb98d4e11d006a0932cf85b192
Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent 7fb206e6
......@@ -2122,7 +2122,7 @@ CHARSTRING_template::CHARSTRING_template(const OPTIONAL<CHARSTRING>& other_value
CHARSTRING_template::CHARSTRING_template(template_sel p_sel,
const CHARSTRING& p_str,
boolean p_nocase)
boolean p_nocase /* = FALSE */)
: Restricted_Length_Template(STRING_PATTERN), single_value(p_str)
{
if(p_sel!=STRING_PATTERN)
......
......@@ -401,8 +401,10 @@ public:
/** Constructor for STRING_PATTERN
* @param p_sel must be STRING_PATTERN or else Dynamic Testcase Error
* @param p_str pattern string
* @param p_nocase case sensitivity (FALSE = case sensitive)
*/
CHARSTRING_template(template_sel p_sel, const CHARSTRING& p_str, boolean p_nocase);
CHARSTRING_template(template_sel p_sel, const CHARSTRING& p_str,
boolean p_nocase = FALSE);
/// Copy constructor
CHARSTRING_template(const CHARSTRING_template& other_value);
......
......@@ -3882,7 +3882,7 @@ UNIVERSAL_CHARSTRING_template::UNIVERSAL_CHARSTRING_template
}
UNIVERSAL_CHARSTRING_template::UNIVERSAL_CHARSTRING_template
(template_sel p_sel, const CHARSTRING& p_str, boolean p_nocase)
(template_sel p_sel, const CHARSTRING& p_str, boolean p_nocase /* = FALSE */)
: Restricted_Length_Template(STRING_PATTERN)
{
if(p_sel!=STRING_PATTERN)
......
......@@ -575,7 +575,7 @@ public:
UNIVERSAL_CHARSTRING_template
(const UNIVERSAL_CHARSTRING_template& other_value);
UNIVERSAL_CHARSTRING_template(template_sel p_sel, const CHARSTRING& p_str,
boolean p_nocase);
boolean p_nocase = FALSE);
~UNIVERSAL_CHARSTRING_template();
void clean_up();
......
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