Removed 'inline' which was causing unresolved symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -222,14 +222,14 @@ class WXDLLEXPORT wxCriticalSection
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// ctor & dtor
|
// ctor & dtor
|
||||||
inline wxCriticalSection();
|
wxCriticalSection();
|
||||||
inline ~wxCriticalSection();
|
~wxCriticalSection();
|
||||||
|
|
||||||
// enter the section (the same as locking a mutex)
|
// enter the section (the same as locking a mutex)
|
||||||
inline void Enter();
|
void Enter();
|
||||||
|
|
||||||
// leave the critical section (same as unlocking a mutex)
|
// leave the critical section (same as unlocking a mutex)
|
||||||
inline void Leave();
|
void Leave();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
#if wxCRITSECT_IS_MUTEX
|
#if wxCRITSECT_IS_MUTEX
|
||||||
@@ -251,11 +251,11 @@ private:
|
|||||||
|
|
||||||
#if wxCRITSECT_IS_MUTEX
|
#if wxCRITSECT_IS_MUTEX
|
||||||
// implement wxCriticalSection using mutexes
|
// implement wxCriticalSection using mutexes
|
||||||
inline wxCriticalSection::wxCriticalSection() { }
|
wxCriticalSection::wxCriticalSection() { }
|
||||||
inline wxCriticalSection::~wxCriticalSection() { }
|
wxCriticalSection::~wxCriticalSection() { }
|
||||||
|
|
||||||
inline void wxCriticalSection::Enter() { (void)m_mutex.Lock(); }
|
void wxCriticalSection::Enter() { (void)m_mutex.Lock(); }
|
||||||
inline void wxCriticalSection::Leave() { (void)m_mutex.Unlock(); }
|
void wxCriticalSection::Leave() { (void)m_mutex.Unlock(); }
|
||||||
#endif // wxCRITSECT_IS_MUTEX
|
#endif // wxCRITSECT_IS_MUTEX
|
||||||
|
|
||||||
// wxCriticalSectionLocker is the same to critical sections as wxMutexLocker is
|
// wxCriticalSectionLocker is the same to critical sections as wxMutexLocker is
|
||||||
|
Reference in New Issue
Block a user