Commit 8b8f472c authored by Dominik Charousset's avatar Dominik Charousset

Fix copying issue in decorated tuple

parent 6e89231d
......@@ -34,7 +34,7 @@ decorated_tuple::decorated_tuple(cow_ptr&& d, vector_type&& v)
// calculate type token
for (unsigned long i : mapping_) {
type_token_ <<= 6;
type_token_ |= decorated_->type_nr(i);
type_token_ |= static_cast<const cow_ptr&>(decorated_)->type_nr(i);
}
}
......
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