From f1948dd0cdd7b155077aba1639926a4bdb5b7572 Mon Sep 17 00:00:00 2001 From: kristof <Kristof.Szabados@ericsson.com> Date: Sat, 18 Feb 2017 12:27:32 +0100 Subject: [PATCH] lets not return an enum for a boolean Signed-off-by: kristof <Kristof.Szabados@ericsson.com> --- compiler2/subtypestuff.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler2/subtypestuff.hh b/compiler2/subtypestuff.hh index bdf4b0f9c..b46dd7974 100644 --- a/compiler2/subtypestuff.hh +++ b/compiler2/subtypestuff.hh @@ -1786,7 +1786,7 @@ bool StringSubtypeTreeElement<STRINGTYPE,CHARLIMITTYPE>::is_element(const STRING default: 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 -- GitLab