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 d9e6ff98eb..cc8519173b 100644 --- a/src/opengl/qglcolormap.h +++ b/src/opengl/qglcolormap.h @@ -94,7 +94,7 @@ private: inline void QGLColormap::detach() { - if (d->ref != 1) + if (d->ref.load() != 1) detach_helper(); } |