Compiler warning

This commit is contained in:
Kenneth Heafield 2014-03-17 07:18:11 -07:00
parent 6bbf437ff7
commit fc61084743

View File

@ -45,9 +45,7 @@ class ChartHypothesisRecombinationOrderer
public:
bool operator()(const ChartHypothesis* hypoA, const ChartHypothesis* hypoB) const {
// assert in same cell
const WordsRange &rangeA = hypoA->GetCurrSourceRange()
, &rangeB = hypoB->GetCurrSourceRange();
assert(rangeA == rangeB);
assert(hypoA->GetCurrSourceRange() == hypoB->GetCurrSourceRange());
// shouldn't be mixing hypos with different lhs
assert(hypoA->GetTargetLHS() == hypoB->GetTargetLHS());