From 60538c364664df6238f0b1a28a242574e13cd2da Mon Sep 17 00:00:00 2001 From: cutealien Date: Thu, 24 Mar 2022 22:24:13 +0000 Subject: [PATCH] Fix comment. (Did I have a stroke when I was typing the old one?) git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6316 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/irrArray.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/irrArray.h b/include/irrArray.h index db5c3e07..1e358fd6 100644 --- a/include/irrArray.h +++ b/include/irrArray.h @@ -234,9 +234,10 @@ public: //! Set (copy) data from given memory block /** \param newData data to set, must have newSize elements \param newSize Amount of elements in newData - \param canShrink When true we reallocate the array even it can shrink. - May reduce memory usage, but call is more whenever size changes. \param newDataIsSorted Info if you pass sorted/unsorted data + \param canShrink Specifies whether the array is reallocated even if + enough space is available. Setting this flag to false can speed up + array usage, but may use more memory than required by the data. */ void set_data(const T* newData, u32 newSize, bool newDataIsSorted=false, bool canShrink=false) {