2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-26 16:52:10 +00:00

Correct order of constexpr and type specifier

The constexpr belongs to the declaration specifiers (like static) and
not just the type specifiers (like cv-qualifiers), so it binds to
the declaration (like static), not the type (like const).

Refines #211
This commit is contained in:
Mateusz Łoskot
2019-01-15 00:42:20 +01:00
parent da6acc6cca
commit e3ef52bb80
18 changed files with 35 additions and 35 deletions

View File

@@ -97,7 +97,7 @@ struct mandelbrot_fn
using const_reference = value_type;
using argument_type = point_t;
using result_type = reference;
static bool constexpr is_mutable = false;
static constexpr bool is_mutable = false;
value_type _in_color,_out_color;
point_t _img_size;