From 76df57d24ef6c9d386587a84e52901754f7c4652 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 7 Jun 2002 18:32:06 +0000 Subject: [PATCH] Removed 'inline' which was causing unresolved symbols git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/thread.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/wx/thread.h b/include/wx/thread.h index f4fec4683c..49e7b0a582 100644 --- a/include/wx/thread.h +++ b/include/wx/thread.h @@ -222,14 +222,14 @@ class WXDLLEXPORT wxCriticalSection { public: // ctor & dtor - inline wxCriticalSection(); - inline ~wxCriticalSection(); + wxCriticalSection(); + ~wxCriticalSection(); // enter the section (the same as locking a mutex) - inline void Enter(); + void Enter(); // leave the critical section (same as unlocking a mutex) - inline void Leave(); + void Leave(); private: #if wxCRITSECT_IS_MUTEX @@ -251,11 +251,11 @@ private: #if wxCRITSECT_IS_MUTEX // implement wxCriticalSection using mutexes - inline wxCriticalSection::wxCriticalSection() { } - inline wxCriticalSection::~wxCriticalSection() { } + wxCriticalSection::wxCriticalSection() { } + wxCriticalSection::~wxCriticalSection() { } - inline void wxCriticalSection::Enter() { (void)m_mutex.Lock(); } - inline void wxCriticalSection::Leave() { (void)m_mutex.Unlock(); } + void wxCriticalSection::Enter() { (void)m_mutex.Lock(); } + void wxCriticalSection::Leave() { (void)m_mutex.Unlock(); } #endif // wxCRITSECT_IS_MUTEX // wxCriticalSectionLocker is the same to critical sections as wxMutexLocker is -- 2.45.2