Commit f1948dd0 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

lets not return an enum for a boolean


Signed-off-by: Kristof Szabados's avatarkristof <Kristof.Szabados@ericsson.com>
parent 943cbed9
...@@ -1786,7 +1786,7 @@ bool StringSubtypeTreeElement<STRINGTYPE,CHARLIMITTYPE>::is_element(const STRING ...@@ -1786,7 +1786,7 @@ bool StringSubtypeTreeElement<STRINGTYPE,CHARLIMITTYPE>::is_element(const STRING
default: default:
FATAL_ERROR("StringSubtypeTreeElement::is_element()"); FATAL_ERROR("StringSubtypeTreeElement::is_element()");
} }
return TUNKNOWN; return true; // don't know if it matches
} }
// if the constraints are ortogonal (e.g. size and alphabet) or just different then return TUNKNOWN // if the constraints are ortogonal (e.g. size and alphabet) or just different then return TUNKNOWN
......
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