mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
f5950512e4
Comparator objects used in standard containers (such as std::set) must be invocable as const. Opensaf contains several comparators that lack the 'const' qualifier, leading to compilation failures like: error: passing 'const XxxCompare*' as 'this' argument discards qualifiers Add a backported patch to fix the comparators in imm_xmlw_dump.cc and amfd/node.h by adding the missing 'const' to operator(). Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>