diff --git a/AK/CheckedFormatString.h b/AK/CheckedFormatString.h index 749899413e2..121d57eceb0 100644 --- a/AK/CheckedFormatString.h +++ b/AK/CheckedFormatString.h @@ -40,9 +40,6 @@ struct Array { T __data[Size]; }; -template -void compiletime_fail(Args...); - template consteval auto extract_used_argument_index(char const (&fmt)[N], size_t specifier_start_index, size_t specifier_end_index, size_t& next_implicit_argument_index) { diff --git a/AK/StdLibExtras.h b/AK/StdLibExtras.h index 869f2789cfd..67e6b3ac3bd 100644 --- a/AK/StdLibExtras.h +++ b/AK/StdLibExtras.h @@ -32,6 +32,9 @@ requires(AK::Detail::IsIntegral) return value && !((value) & (value - 1)); } +template +void compiletime_fail(Args...); + } #if !USING_AK_GLOBALLY || defined(AK_DONT_REPLACE_STD)