mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
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:
parent
de64ffbf11
commit
8e4080f8d1
1 changed files with 1 additions and 1 deletions
|
@ -924,7 +924,7 @@ public:
|
|||
return *this;
|
||||
}
|
||||
|
||||
~TDeletingArray<T, TT> ()
|
||||
~TDeletingArray()
|
||||
{
|
||||
for (unsigned int i = 0; i < TArray<T,TT>::Size(); ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue