From: Julian Smart Date: Fri, 7 Jun 2002 18:32:06 +0000 (+0000) Subject: Removed 'inline' which was causing unresolved symbols X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/76df57d24ef6c9d386587a84e52901754f7c4652 Removed 'inline' which was causing unresolved symbols git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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