diff options
Diffstat (limited to 'src/opengl/qglcolormap.h')
-rw-r--r-- | src/opengl/qglcolormap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qglcolormap.h b/src/opengl/qglcolormap.h index 772e327e34..b59b56e040 100644 --- a/src/opengl/qglcolormap.h +++ b/src/opengl/qglcolormap.h @@ -90,7 +90,7 @@ private: inline void QGLColormap::detach() { - if (d->ref.load() != 1) + if (d->ref.loadRelaxed() != 1) detach_helper(); } |