Fixing compilation on clang in debug mode.

This commit is contained in:
Vojtech Bubnik 2021-05-04 16:13:40 +02:00
parent 1aef86f650
commit 00835c7367

View file

@ -37,7 +37,7 @@ namespace ClipperUtils {
constexpr bool operator==(const iterator &rhs) const { return true; }
constexpr bool operator!=(const iterator &rhs) const { return false; }
const Points& operator++(int) { assert(false); return s_empty_points; }
constexpr iterator& operator++() { assert(false); return *this; }
const iterator& operator++() { assert(false); return *this; }
};
constexpr EmptyPathsProvider() {}