summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-24 12:51:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-24 12:51:24 +0900
commit6138cbba10bfeed153da3cbf961baba6551b8918 (patch)
tree61061a134088949ef9834a1a5fb54ce9888608da /src
parent60f2efab89e5ea66261798274c5ce77e56e78da1 (diff)
downloadkvirc-6138cbba10bfeed153da3cbf961baba6551b8918.tar.gz
kvirc-6138cbba10bfeed153da3cbf961baba6551b8918.zip
Remove warning about 'template-id not allowed for constructor in C++20'
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/kvilib/core/kvi_pointerlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvilib/core/kvi_pointerlist.h b/src/kvilib/core/kvi_pointerlist.h
index b46343c..35abaa7 100644
--- a/src/kvilib/core/kvi_pointerlist.h
+++ b/src/kvilib/core/kvi_pointerlist.h
@@ -1036,7 +1036,7 @@ public:
///
/// creates a template list
///
- KviPointerList<T>(bool bAutoDelete = true)
+ KviPointerList(bool bAutoDelete = true)
{
m_bAutoDelete = bAutoDelete;
m_pHead = NULL;
@@ -1049,7 +1049,7 @@ public:
/// destroys the list
/// if autoDelete() is set to true, all the items are deleted
///
- virtual ~KviPointerList<T>()
+ virtual ~KviPointerList()
{
clear();
};