We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91eb31 commit e2a6820Copy full SHA for e2a6820
src/geom.hpp
@@ -105,11 +105,6 @@ class point_list_t : public std::vector<point_t>
105
: std::vector<point_t>(list.begin(), list.end())
106
{}
107
108
- [[nodiscard]] constexpr static std::size_t num_geometries() noexcept
109
- {
110
- return 1;
111
- }
112
-
113
friend bool operator==(point_list_t const &a,
114
point_list_t const &b) noexcept;
115
@@ -123,6 +118,11 @@ class linestring_t : public point_list_t
123
118
public:
124
119
using point_list_t::point_list_t;
125
120
121
+ [[nodiscard]] constexpr static std::size_t num_geometries() noexcept
122
+ {
+ return 1;
+ }
+
126
}; // class linestring_t
127
128
class ring_t : public point_list_t
0 commit comments