Commit 67b7b86d authored by Pierre PARUTTO's avatar Pierre PARUTTO Committed by Alexandre Duret-Lutz
Browse files

tgbaproduct: fix segfault

* src/tgba/tgbaproduct.cc (transition_annotation): Adapt down cast to
new hierarchy.
parent e4ecc2d4
......@@ -465,8 +465,8 @@ namespace spot
std::string
tgba_product::transition_annotation(const tgba_succ_iterator* t) const
{
const tgba_succ_iterator_product* i =
down_cast<const tgba_succ_iterator_product*>(t);
const tgba_succ_iterator_product_common* i =
down_cast<const tgba_succ_iterator_product_common*>(t);
assert(i);
std::string left = left_->transition_annotation(i->left_);
std::string right = right_->transition_annotation(i->right_);
......
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