Fix compile warning

This commit is contained in:
Noisyfox 2024-09-30 14:18:30 +08:00
parent ff265745c6
commit ebed03ea92

View file

@ -619,7 +619,7 @@ static constexpr const bool polygons_strictly_simple = false;
inline double tiny_area_threshold() { return sqr(scaled<double>(0.001)); }
void tree_supports_show_error(std::string_view message, bool critical)
inline void tree_supports_show_error(std::string_view message, bool critical)
{ // todo Remove! ONLY FOR PUBLIC BETA!!
printf("Error: %s, critical: %d\n", message.data(), int(critical));
#ifdef TREE_SUPPORT_SHOW_ERRORS_WIN32