diff options
Diffstat (limited to 'examples/corelib/threads/mandelbrot/renderthread.h')
-rw-r--r-- | examples/corelib/threads/mandelbrot/renderthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/corelib/threads/mandelbrot/renderthread.h b/examples/corelib/threads/mandelbrot/renderthread.h index 6e509eee94..ecd8ae084d 100644 --- a/examples/corelib/threads/mandelbrot/renderthread.h +++ b/examples/corelib/threads/mandelbrot/renderthread.h @@ -49,7 +49,7 @@ private: bool restart = false; bool abort = false; - enum { ColormapSize = 512 }; + static constexpr int ColormapSize = 512; uint colormap[ColormapSize]; }; //! [0] |