Code: Select all
/home/FO/programs/freeorion_test/UI/ObjectListWnd.cpp:830:121: error: invalid initialization of non-const reference of type ‘std::set<{anonymous}::VIS_DISPLAY>&’ from an rvalue of type ‘std::set<{anonymous}::VIS_DISPLAY>’
Moderator: Oberlus
Code: Select all
/home/FO/programs/freeorion_test/UI/ObjectListWnd.cpp:830:121: error: invalid initialization of non-const reference of type ‘std::set<{anonymous}::VIS_DISPLAY>&’ from an rvalue of type ‘std::set<{anonymous}::VIS_DISPLAY>’
Code: Select all
const std::set<VIS_DISPLAY>& shown_vis ...