File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 24
24
25
25
#ifdef _MSC_VER
26
26
#define CTRE_FORCE_INLINE __forceinline
27
- #define CTRE_FLATTEN
27
+ #define CTRE_FLATTEN [[msvc::flatten]]
28
28
#else
29
29
#define CTRE_FORCE_INLINE inline __attribute__ ((always_inline))
30
30
#define CTRE_FLATTEN __attribute__ ((flatten))
Original file line number Diff line number Diff line change @@ -1408,7 +1408,7 @@ struct pcre {
1408
1408
1409
1409
#ifdef _MSC_VER
1410
1410
#define CTRE_FORCE_INLINE __forceinline
1411
- #define CTRE_FLATTEN
1411
+ #define CTRE_FLATTEN [[msvc::flatten]]
1412
1412
#else
1413
1413
#define CTRE_FORCE_INLINE inline __attribute__((always_inline))
1414
1414
#define CTRE_FLATTEN __attribute__((flatten))
Original file line number Diff line number Diff line change @@ -1405,7 +1405,7 @@ struct pcre {
1405
1405
1406
1406
#ifdef _MSC_VER
1407
1407
#define CTRE_FORCE_INLINE __forceinline
1408
- #define CTRE_FLATTEN
1408
+ #define CTRE_FLATTEN [[msvc::flatten]]
1409
1409
#else
1410
1410
#define CTRE_FORCE_INLINE inline __attribute__ ((always_inline))
1411
1411
#define CTRE_FLATTEN __attribute__ ((flatten))
You can’t perform that action at this time.
0 commit comments