From 203d665445bae01d654f193b5b4110ba86188943 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Fri, 6 Dec 2024 01:46:14 +0000 Subject: [PATCH] CWindow.h: fix build error with gcc In file included from CWindow.cpp:19:0: CWindow.h:288:33: error: invalid pure specifier (only '= 0' is allowed) before ' token virtual DWORD ThreadFunc()=NULL; ^ --- desmume/src/frontend/windows/CWindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/frontend/windows/CWindow.h b/desmume/src/frontend/windows/CWindow.h index a734d7076..5be01854c 100644 --- a/desmume/src/frontend/windows/CWindow.h +++ b/desmume/src/frontend/windows/CWindow.h @@ -285,7 +285,7 @@ public: protected: DWORD threadID; - virtual DWORD ThreadFunc()=NULL; + virtual DWORD ThreadFunc()=0; }; class TOOLSCLASS : public THREADCLASS