Skip to content

Commit ae22db4

Browse files
committed
C++11 didn't support constexpr void functions
1 parent 2647a66 commit ae22db4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extras/rapidfuzz_amalgamated.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
22
// SPDX-License-Identifier: MIT
33
// RapidFuzz v1.0.2
4-
// Generated: 2024-12-25 11:20:05.194568
4+
// Generated: 2024-12-25 11:29:11.666527
55
// ----------------------------------------------------------
66
// This file is an amalgamation of multiple different files.
77
// You probably shouldn't edit it directly.
@@ -1610,7 +1610,7 @@ struct UnrollImpl<T, N, Pos, true> {
16101610
};
16111611

16121612
template <typename T, T N, class F>
1613-
constexpr void unroll(F&& f)
1613+
RAPIDFUZZ_CONSTEXPR_CXX14 void unroll(F&& f)
16141614
{
16151615
UnrollImpl<T, N>::call(f);
16161616
}

rapidfuzz/details/intrinsics.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ struct UnrollImpl<T, N, Pos, true> {
220220
};
221221

222222
template <typename T, T N, class F>
223-
constexpr void unroll(F&& f)
223+
RAPIDFUZZ_CONSTEXPR_CXX14 void unroll(F&& f)
224224
{
225225
UnrollImpl<T, N>::call(f);
226226
}

0 commit comments

Comments
 (0)