diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-24 12:51:24 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-24 12:51:24 +0900 |
| commit | 6138cbba10bfeed153da3cbf961baba6551b8918 (patch) | |
| tree | 61061a134088949ef9834a1a5fb54ce9888608da /src | |
| parent | 60f2efab89e5ea66261798274c5ce77e56e78da1 (diff) | |
| download | kvirc-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.h | 4 |
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(); }; |
