[asterisk-scf-commits] asterisk-scf/release/ice-util-cpp.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Feb 6 12:24:50 CST 2012


branch "master" has been updated
       via  eca922fd6e1c4f16b3a43fba0a89464dc6bdeaa9 (commit)
      from  b81af86a71d756acf7f83eb45dbc7025cc732ee2 (commit)

Summary of changes:
 include/AsteriskSCF/WorkQueue/Dispatched.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit eca922fd6e1c4f16b3a43fba0a89464dc6bdeaa9
Author: David M. Lee <dlee at digium.com>
Date:   Mon Feb 6 10:48:00 2012 -0600

    Fixed for boost-1.48

diff --git a/include/AsteriskSCF/WorkQueue/Dispatched.h b/include/AsteriskSCF/WorkQueue/Dispatched.h
index b69bcf8..7cd2d40 100644
--- a/include/AsteriskSCF/WorkQueue/Dispatched.h
+++ b/include/AsteriskSCF/WorkQueue/Dispatched.h
@@ -17,6 +17,8 @@
 
 #include <boost/interprocess/detail/atomic.hpp>
 
+#include <AsteriskSCF/Boost/FixIpcDetail.h>
+
 namespace AsteriskSCF
 {
 namespace WorkQueue
@@ -27,11 +29,11 @@ class ASTSCF_DLL_EXPORT Dispatched
 public:
     Dispatched() : mDestroyed(0) { }
 
-    void setDestroyed() { boost::interprocess::detail::atomic_inc32(&mDestroyed); }
+    void setDestroyed() { boost::interprocess::ipcdetail::atomic_inc32(&mDestroyed); }
 
     bool isDestroyed()
     {
-        if (boost::interprocess::detail::atomic_read32(&mDestroyed) > 0)
+        if (boost::interprocess::ipcdetail::atomic_read32(&mDestroyed) > 0)
         {
             return true;
         }

-----------------------------------------------------------------------


-- 
asterisk-scf/release/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list