Bug ID 1194522
Summary boost::apply_visitor: doesn't handle perfect forwarding
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.4
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee aschnell@suse.com
Reporter amajer@suse.com
QA Contact qa-bugs@suse.de
CC aloisio@gmx.com
Found By ---
Blocker ---

boost::apply_visitor only works with const& Visitor. When a mutable Visitor is
applied, compilation fails. This affects upgrade of libtorrent-rasterbar to
current version in Leap 15.4

Solution is to backport
https://github.com/boostorg/variant/commit/33784034b70a6607c9413633375e84912213a123

Also, invoke_visitor has a typo in its boost::move call which should also be
backported.

https://github.com/boostorg/variant/commit/03035b2f6b5d48d82270725f6eb52968180a2c64


You are receiving this mail because: