From c446af41ae4eec6508194c7458feaa7b7baf9eaf Mon Sep 17 00:00:00 2001 From: Professor Hastig Date: Fri, 5 Jan 2024 11:13:05 +0100 Subject: [PATCH] fixed TArray::push_back --- src/common/utility/tarray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utility/tarray.h b/src/common/utility/tarray.h index b0ab192cc5..95f4842edd 100644 --- a/src/common/utility/tarray.h +++ b/src/common/utility/tarray.h @@ -684,7 +684,7 @@ public: Resize(i); } - void push_back(T& elem) + void push_back(const T& elem) { Push(elem); }