diff options
-rw-r--r-- | gcc/config/i386/i386.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index cba6d83..e35c79c 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -78,8 +78,9 @@ struct stringop_algs this issue. Since this header is used by code compiled with the C compiler we must guard the addition. */ #ifdef __cplusplus - stringop_strategy(int _max = -1, enum stringop_alg _alg = libcall, - int _noalign = false) + constexpr + stringop_strategy (int _max = -1, enum stringop_alg _alg = libcall, + int _noalign = false) : max (_max), alg (_alg), noalign (_noalign) {} #endif const int max; |