summaryrefslogtreecommitdiffstats
path: root/raul/AtomicPtr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/AtomicPtr.hpp')
-rw-r--r--raul/AtomicPtr.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/AtomicPtr.hpp b/raul/AtomicPtr.hpp
index 29d0948..365b25d 100644
--- a/raul/AtomicPtr.hpp
+++ b/raul/AtomicPtr.hpp
@@ -44,7 +44,7 @@ public:
{ return g_atomic_pointer_compare_and_exchange(&_val, oldval, newval); }
private:
- mutable T* _val;
+ mutable T volatile* _val;
};