summaryrefslogtreecommitdiff
path: root/src/Fl_Int_Vector.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2022-11-07 11:28:52 -0800
committerGreg Ercolano <erco@seriss.com>2022-11-07 11:28:52 -0800
commit89e1aad897c07c0fc1e427d5970889172177808a (patch)
treeae693a18cd42a91a21fa47b2379e13c422554404 /src/Fl_Int_Vector.cxx
parent9605b82e08182faee283ef136de53bc7c7207a26 (diff)
Removed an obsolete \warning.
Diffstat (limited to 'src/Fl_Int_Vector.cxx')
-rw-r--r--src/Fl_Int_Vector.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Fl_Int_Vector.cxx b/src/Fl_Int_Vector.cxx
index 0815661dc..256be4a87 100644
--- a/src/Fl_Int_Vector.cxx
+++ b/src/Fl_Int_Vector.cxx
@@ -40,10 +40,6 @@ Fl_Int_Vector::~Fl_Int_Vector() {
Shrinking truncates the array and frees memory of truncated elements.
Enlarging creates new elements that are zero in value.
-
- \warning
- Only currently advised use is to shrink the array size, i.e. (count < size()),
- since assignment via index (e.g. v[x] = 123) is not yet supported.
*/
void Fl_Int_Vector::size(unsigned int count) {
if (count == 0) { // zero? special case frees memory