From 9d4357c06610a8ff607714349e64642cd3af861f Mon Sep 17 00:00:00 2001 From: peri4 Date: Sun, 15 Sep 2024 16:50:15 +0300 Subject: [PATCH] PIVector2D =() fix --- libs/main/containers/pivector2d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/main/containers/pivector2d.h b/libs/main/containers/pivector2d.h index 85524325..807a45ae 100644 --- a/libs/main/containers/pivector2d.h +++ b/libs/main/containers/pivector2d.h @@ -103,7 +103,7 @@ public: return *this; } inline Row & operator=(const PIVector & other) { - const size_t sz = piMin(sz, other.size()); + const size_t sz = piMin(sz_, other.size()); p_->_copyRaw(p_->data(st_), other.data(), sz); return *this; }