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

tgbaproduct: fix segfault

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