summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-14 16:42:19 +0000
committerDavid Robillard <d@drobilla.net>2008-10-14 16:42:19 +0000
commitf1bdb3ff3f43f53eedd5521df01985f8d61aafc5 (patch)
treec591f308640ed419802f47451ccef66085b7e2da
parentcab30fde0b7aef21538ca3dd7dbba9e5cd0ac5da (diff)
downloadraul-f1bdb3ff3f43f53eedd5521df01985f8d61aafc5.tar.gz
raul-f1bdb3ff3f43f53eedd5521df01985f8d61aafc5.tar.bz2
raul-f1bdb3ff3f43f53eedd5521df01985f8d61aafc5.zip
Yet another attempted fix for weird anal compilers of mysterious pedantry...
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@1672 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--raul/AtomicPtr.hpp2
-rw-r--r--src/Maid.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/raul/AtomicPtr.hpp b/raul/AtomicPtr.hpp
index 14266fc..4b49f6a 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:
- volatile mutable T* _val;
+ mutable T* volatile _val;
};
diff --git a/src/Maid.cpp b/src/Maid.cpp
index df1096f..107e393 100644
--- a/src/Maid.cpp
+++ b/src/Maid.cpp
@@ -22,7 +22,7 @@ namespace Raul {
Maid::Maid(size_t size)
-: _objects(size)
+ : _objects(size)
{
}