This should fix a couple warnings seen in the Linux CI

This commit is contained in:
2025-08-10 13:07:38 -04:00
committed by Celtic Minstrel
parent 436276e02b
commit af75e581c7
2 changed files with 2 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -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},