[SCM] kodi-pvr-hts/master: move AsyncState::GetState() implementation to the .cpp file

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Wed Mar 2 23:01:54 UTC 2016


The following commit has been merged in the master branch:
commit 8af4c1b51bf3d89bd1d464061aef0e0946a1cf88
Author: Sam Stenvall <sam.stenvall at nordsoftware.com>
Date:   Sun Jan 3 22:10:44 2016 +0200

    move AsyncState::GetState() implementation to the .cpp file

diff --git a/src/AsyncState.cpp b/src/AsyncState.cpp
index 652033d..d49e9b5 100644
--- a/src/AsyncState.cpp
+++ b/src/AsyncState.cpp
@@ -34,6 +34,12 @@ AsyncState::AsyncState(int timeout)
   m_timeout = timeout;
 }
 
+eAsyncState AsyncState::GetState()
+{
+  PLATFORM::CLockObject lock(m_mutex);
+  return m_state;
+}
+
 void AsyncState::SetState(eAsyncState state)
 {
   CLockObject lock(m_mutex);
diff --git a/src/AsyncState.h b/src/AsyncState.h
index ed9638b..4d8bfd4 100644
--- a/src/AsyncState.h
+++ b/src/AsyncState.h
@@ -51,11 +51,7 @@ public:
   /**
    * @return the current state
    */
-  inline eAsyncState GetState()
-  {
-    PLATFORM::CLockObject lock(m_mutex);
-    return m_state;
-  }
+  eAsyncState GetState();
 
   /**
    * Changes the current state to "state"

-- 
kodi-pvr-hts packaging



More information about the pkg-multimedia-commits mailing list