From c00ccdaf9c80352971d1293427c20e3b5df3a2b1 Mon Sep 17 00:00:00 2001 From: iutbgdin Date: Fri, 10 Oct 2025 10:24:23 +0200 Subject: [PATCH] tofix --- src/object/plane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/plane.cpp b/src/object/plane.cpp index 454654e..4da116e 100644 --- a/src/object/plane.cpp +++ b/src/object/plane.cpp @@ -38,7 +38,7 @@ Plane::Plane(std::string& txt) { txt.erase(0, pos + 1); it++; } - tmp = txt.substr(0, txt.length - 1); + tmp = txt.substr(0, txt.length() - 1); this->pts.push_back(new Point(tmp)); }