mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fix compile warning
This commit is contained in:
@@ -619,7 +619,7 @@ static constexpr const bool polygons_strictly_simple = false;
|
|||||||
|
|
||||||
inline double tiny_area_threshold() { return sqr(scaled<double>(0.001)); }
|
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!!
|
{ // todo Remove! ONLY FOR PUBLIC BETA!!
|
||||||
printf("Error: %s, critical: %d\n", message.data(), int(critical));
|
printf("Error: %s, critical: %d\n", message.data(), int(critical));
|
||||||
#ifdef TREE_SUPPORT_SHOW_ERRORS_WIN32
|
#ifdef TREE_SUPPORT_SHOW_ERRORS_WIN32
|
||||||
|
|||||||
Reference in New Issue
Block a user