X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=pysvrt.git;a=blobdiff_plain;f=shape.h;h=671d93cfd918aac722002938f81d1999f75d3436;hp=6e09f020874d26256770b4af40e9ac7536b74185;hb=HEAD;hpb=f542d0542b1e51ca7dd12bc6b96f6a299371ae8d diff --git a/shape.h b/shape.h index 6e09f02..671d93c 100644 --- a/shape.h +++ b/shape.h @@ -18,7 +18,7 @@ * General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with selector. If not, see . + * along with svrt. If not, see . * */ @@ -32,7 +32,13 @@ class Shape { static const int margin = 1; static const int nb_max_pixels = Vignette::width * Vignette::height; + +#if __cplusplus >= 201103L + static constexpr scalar_t gap_max = 0.25; +#else static const scalar_t gap_max = 0.25; +#endif + int n_pixels1, n_pixels2, n_pixels3, n_pixels4; int nb_pixels; scalar_t xc, yc;