This should fix a couple warnings seen in the Linux CI
This commit is contained in:
@@ -4725,4 +4725,5 @@ iLiving& current_pc_picked_in_spec_enc(const runtime_state& ctx) {
|
||||
return *targ;
|
||||
else return univ.party;
|
||||
}
|
||||
BOOST_UNREACHABLE_RETURN(*ctx.cur_target);
|
||||
}
|
||||
|
@@ -15,7 +15,7 @@
|
||||
#include "render_image.hpp"
|
||||
|
||||
using boost::math::constants::pi;
|
||||
using pt_idx_t = decltype(((sf::Shape*)nullptr)->getPointCount());
|
||||
using pt_idx_t = decltype(std::declval<sf::Shape>().getPointCount());
|
||||
|
||||
std::map<std::string,sf::Color> colour_map = {
|
||||
{"white", Colours::WHITE},
|
||||
|
Reference in New Issue
Block a user