Commit 27122a2f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Media: Use atomic_uint instead of atomic_uint32

atomic_uint32 isn't a mandatory atomic specialization and doesn't exist
within libc++
parent cda18894
......@@ -33,6 +33,8 @@
#include "medialibrary/IMetadata.h"
#include "Metadata.h"
#include <atomic>
namespace medialibrary
{
......@@ -174,7 +176,7 @@ private:
std::string m_filename;
bool m_isFavorite;
bool m_isPresent;
mutable std::atomic_uint32_t m_nbPlaylists;
mutable std::atomic_uint m_nbPlaylists;
// Auto fetched related properties
mutable Cache<AlbumTrackPtr> m_albumTrack;
......
Markdown is supported
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