diff options
Diffstat (limited to 'src/QGst/objectstore.cpp')
-rw-r--r-- | src/QGst/objectstore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QGst/objectstore.cpp b/src/QGst/objectstore.cpp index 236a733..156f4d6 100644 --- a/src/QGst/objectstore.cpp +++ b/src/QGst/objectstore.cpp @@ -71,7 +71,7 @@ bool ObjectStore::take(const void * ptr) (gs->refCount[ptr]).deref(); #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) - if (!gs->refCount[ptr].deref()) { + if (!gs->refCount[ptr].load()) { #else if (!gs->refCount[ptr]) { #endif |