mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +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
992e01de05
commit
0785038120
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue