https://git.reactos.org/?p=reactos.git;a=commitdiff;h=398486f5f6eb7bd15a9dc80b12eb6693274f6297

commit 398486f5f6eb7bd15a9dc80b12eb6693274f6297
Author:     Timo Kreuzer <timo.kreu...@reactos.org>
AuthorDate: Sun Oct 13 13:00:52 2024 +0200
Commit:     Timo Kreuzer <timo.kreu...@reactos.org>
CommitDate: Sat Oct 19 16:16:51 2024 +0300

    [ATL] CComCriticalSection destructor should not be virtual
    
    Fixes GCC 13 build of shdocvw
---
 sdk/lib/atl/atlcore.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdk/lib/atl/atlcore.h b/sdk/lib/atl/atlcore.h
index d1527493864..3e6234eb06c 100644
--- a/sdk/lib/atl/atlcore.h
+++ b/sdk/lib/atl/atlcore.h
@@ -55,7 +55,7 @@ public:
         memset(&m_sec, 0, sizeof(CRITICAL_SECTION));
     }
 
-    virtual ~CComCriticalSection()
+    ~CComCriticalSection()
     {
     }
 

Reply via email to