Resolve compiler warning about destructor syntax

gcc-14 warns:

tarray.h:927:9: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor]
  927 |         ~TDeletingArray<T, TT> ()
This commit is contained in:
Jan Engelhardt 2024-10-12 11:52:07 +02:00 committed by Rachael Alexanderson
parent 992e01de05
commit 0785038120
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0

View file

@ -924,7 +924,7 @@ public:
return *this; return *this;
} }
~TDeletingArray<T, TT> () ~TDeletingArray()
{ {
for (unsigned int i = 0; i < TArray<T,TT>::Size(); ++i) for (unsigned int i = 0; i < TArray<T,TT>::Size(); ++i)
{ {