Fix build on gcc-11 It's a worward of downstream https://bugs.gentoo.org/732818 bug where codeblocks build fails on gcc-11 (from git) as:
"""
openfileslistplugin.cpp:440:60: required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/g++-v11/bits/stl_tree.h:782:15: error: static assertion failed: comparison object must be invocable as const
782 | is_invocable_v<const _compare&,="" const="" _key&,="" _key&="">,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"""</const>
Attached patch (mask as 'const` for operator()) fixes build for me.
Fixed in [r12303].
Related
Commit: [r12303]