Commit 95982c0c authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Switch to std::atomic (available since Cpp-11)

The oneAPI-TBB implementation does not have an atomic implementation anymore.
The std implementation should be more than sufficient.
parent 910ddab1
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#include <tbb/atomic.h> #include <atomic>
class NUPartition; class NUPartition;
...@@ -114,7 +114,7 @@ public: ...@@ -114,7 +114,7 @@ public:
private: private:
ITANUPConvolutionImpl* m_pParent; ITANUPConvolutionImpl* m_pParent;
const NUPartition* m_pScheme; const NUPartition* m_pScheme;
tbb::atomic<int> m_iRefCount; std::atomic<int> m_iRefCount;
std::vector<CUFilter*> m_vpSegments; std::vector<CUFilter*> m_vpSegments;
ITACriticalSection m_csReentrance; ITACriticalSection m_csReentrance;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment