Fix warnings

This commit is contained in:
Mael Rouxel-Labbé 2023-11-22 13:33:45 +01:00
parent 22c2318a55
commit 2bc087a139
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ struct Wrapping_default_visitor
void on_flood_fill_begin(const AlphaWrapper&) { } void on_flood_fill_begin(const AlphaWrapper&) { }
template <typename Wrapper> template <typename Wrapper>
constexpr bool go_further(const Wrapper& wrapper) { return true; } constexpr bool go_further(const Wrapper&) { return true; }
template <typename AlphaWrapper, typename Gate> template <typename AlphaWrapper, typename Gate>
void before_facet_treatment(const AlphaWrapper&, const Gate&) { } void before_facet_treatment(const AlphaWrapper&, const Gate&) { }

View File

@ -121,7 +121,7 @@ public:
public: public:
const Facet& facet() const { return m_facet; } const Facet& facet() const { return m_facet; }
const bool is_zombie() const bool is_zombie() const
{ {
return (m_facet.first->erase_counter() != m_erase_counter_mem) || return (m_facet.first->erase_counter() != m_erase_counter_mem) ||
(m_mirror_facet.first->erase_counter() != m_mirror_erase_counter_mem); (m_mirror_facet.first->erase_counter() != m_mirror_erase_counter_mem);