From 896f1e050b58557829f1523d466288f4fa2245a5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Jan 2013 03:43:39 +0000 Subject: Initialise atomics. Unlike the old Raul classes, std::atomic does not automatically initialise to NULL. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4917 a436a847-0d15-0410-975c-d299462d15a1 --- raul/SRMWQueue.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'raul/SRMWQueue.hpp') diff --git a/raul/SRMWQueue.hpp b/raul/SRMWQueue.hpp index 12b4b19..e122e57 100644 --- a/raul/SRMWQueue.hpp +++ b/raul/SRMWQueue.hpp @@ -77,7 +77,7 @@ private: std::atomic _write_space; ///< Remaining free space for new elements (all threads) const unsigned _size; ///< Size of @ref _objects (you can store _size-1 objects) - T* const _objects; ///< Fixed array containing queued elements + T* const _objects; ///< Fixed array containing queued elements std::atomic* const _valid; ///< Parallel array to _objects, whether loc is written or not }; -- cgit v1.2.1