From 00b81f381acd5e35f1ec96ab114ce44ca0c3a78d Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 13 Apr 2020 13:15:58 +0200 Subject: [PATCH] prc: give StreamWrapperBase virtual destructor (fixes compile error) The compile error was observed with VS 2019 + clang-cl + Ninja + CMake in a Standard build on Windows 10. --- dtool/src/prc/streamWrapper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/dtool/src/prc/streamWrapper.h b/dtool/src/prc/streamWrapper.h index 94c7c7fac2..a5010457b1 100644 --- a/dtool/src/prc/streamWrapper.h +++ b/dtool/src/prc/streamWrapper.h @@ -26,6 +26,7 @@ class EXPCL_DTOOL_PRC StreamWrapperBase { protected: INLINE StreamWrapperBase(); INLINE StreamWrapperBase(const StreamWrapperBase ©) = delete; + virtual ~StreamWrapperBase() {} PUBLISHED: INLINE void acquire();