diff options
-rw-r--r-- | raul/Maid.hpp | 2 | ||||
-rw-r--r-- | raul/SRMWQueue.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/raul/Maid.hpp b/raul/Maid.hpp index 337d7f9..c64a1db 100644 --- a/raul/Maid.hpp +++ b/raul/Maid.hpp @@ -36,7 +36,7 @@ namespace Raul { class Maid : public Noncopyable { public: - Maid() {} + Maid() : _disposed(NULL) {} inline ~Maid() { cleanup(); 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<int> _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<bool>* const _valid; ///< Parallel array to _objects, whether loc is written or not }; |