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 Ricardo Luís Vaz Silva
parent de64ffbf11
commit 8e4080f8d1

View file

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