remove collapsable if statement

This commit is contained in:
Dennis Luxen 2014-03-17 14:36:34 +01:00
parent 52b859b3e6
commit 1fe96d0d22

View File

@ -252,12 +252,12 @@ inline void PBFParser::parseRelation(_ThreadData * threadData) {
break; break;
} }
} }
if ("restriction" == key) { if ( ("restriction" == key) && (val.find("only_") == 0) )
if(val.find("only_") == 0) { {
isOnlyRestriction = true; isOnlyRestriction = true;
} }
} if ("except" == key)
if ("except" == key) { {
except_tag_string = val; except_tag_string = val;
} }
} }