]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed 'inline' which was causing unresolved symbols
authorJulian Smart <julian@anthemion.co.uk>
Fri, 7 Jun 2002 18:32:06 +0000 (18:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 7 Jun 2002 18:32:06 +0000 (18:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/thread.h

index f4fec4683c638de42e6903764d548950d1cd2814..49e7b0a582abd0bb7842fd59b09f928d5072ed2a 100644 (file)
@@ -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