Small update to readme example
diff --git a/README.md b/README.md index e5f107e..222a207 100644 --- a/README.md +++ b/README.md
@@ -18,16 +18,16 @@ ```CPP #include <delaunator.hpp> -#include <cstdio> +#include <cstdio> using namespace std; //... int main(int, char* argv[]) { //... - const vector<double> coords = {/* x0, y0, x1, y1, ... */}; + std::vector<double> coords = {/* x0, y0, x1, y1, ... */}; //triangulation happens here //note moving points to constructor - delaunator::Delaunator delaunator(move(coords)); + delaunator::Delaunator delaunator(coords); for(std::size_t i = 0; i < delaunator.triangles.size(); i+=3) { printf(