@@ -69,7 +69,7 @@ namespace fly {
69
69
*
70
70
* @return True if the operating system is Linux.
71
71
*/
72
- inline constexpr bool is_linux ()
72
+ constexpr bool is_linux ()
73
73
{
74
74
#if defined(FLY_LINUX)
75
75
return true ;
@@ -83,7 +83,7 @@ inline constexpr bool is_linux()
83
83
*
84
84
* @return True if the operating system is macOS.
85
85
*/
86
- inline constexpr bool is_macos ()
86
+ constexpr bool is_macos ()
87
87
{
88
88
#if defined(FLY_MACOS)
89
89
return true ;
@@ -97,7 +97,7 @@ inline constexpr bool is_macos()
97
97
*
98
98
* @return True if the operating system is Windows.
99
99
*/
100
- inline constexpr bool is_windows ()
100
+ constexpr bool is_windows ()
101
101
{
102
102
#if defined(FLY_WINDOWS)
103
103
return true ;
@@ -111,7 +111,7 @@ inline constexpr bool is_windows()
111
111
*
112
112
* @return True if the compiler is Clang.
113
113
*/
114
- inline constexpr bool is_clang ()
114
+ constexpr bool is_clang ()
115
115
{
116
116
#if defined(FLY_COMPILER_CLANG)
117
117
return true ;
@@ -125,7 +125,7 @@ inline constexpr bool is_clang()
125
125
*
126
126
* @return True if the compiler is GCC.
127
127
*/
128
- inline constexpr bool is_gcc ()
128
+ constexpr bool is_gcc ()
129
129
{
130
130
#if defined(FLY_COMPILER_GCC)
131
131
return true ;
@@ -139,7 +139,7 @@ inline constexpr bool is_gcc()
139
139
*
140
140
* @return True if the compiler is Clang.
141
141
*/
142
- inline constexpr bool is_msvc ()
142
+ constexpr bool is_msvc ()
143
143
{
144
144
#if defined(FLY_COMPILER_MSVC)
145
145
return true ;
@@ -153,7 +153,7 @@ inline constexpr bool is_msvc()
153
153
*
154
154
* @return True if the compiler supports consteval.
155
155
*/
156
- inline constexpr bool supports_consteval ()
156
+ constexpr bool supports_consteval ()
157
157
{
158
158
#if defined(FLY_COMPILER_SUPPORTS_CONSTEVAL)
159
159
return true ;
@@ -168,7 +168,7 @@ inline constexpr bool supports_consteval()
168
168
*
169
169
* @return True if the compiler supports floating point charconv operations.
170
170
*/
171
- inline constexpr bool supports_floating_point_charconv ()
171
+ constexpr bool supports_floating_point_charconv ()
172
172
{
173
173
#if defined(FLY_COMPILER_SUPPORTS_FP_CHARCONV)
174
174
return true ;
0 commit comments