[PDL] fix unused variable warning in Release builds

This commit is contained in:
Benjamin Kramer 2021-11-26 14:11:29 +01:00
parent 0e099a64be
commit 1b0312d280
1 changed files with 1 additions and 0 deletions

View File

@ -491,6 +491,7 @@ void visitUpward(std::vector<PositionalPredicate> &predList, OpIndex opIndex,
// cheaper to start the traversal at this value rather than at the
// `connector`, violating the optimality of our spanning tree.
bool inserted = valueToPosition.try_emplace(value, opPos).second;
(void)inserted;
assert(inserted && "duplicate upward visit");
// Obtain the tree predicates at the current value.