Skip to content

Commit

Permalink
C++11 didn't support constexpr void functions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Dec 25, 2024
1 parent 2647a66 commit ae22db4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions extras/rapidfuzz_amalgamated.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
// SPDX-License-Identifier: MIT
// RapidFuzz v1.0.2
// Generated: 2024-12-25 11:20:05.194568
// Generated: 2024-12-25 11:29:11.666527
// ----------------------------------------------------------
// This file is an amalgamation of multiple different files.
// You probably shouldn't edit it directly.
Expand Down Expand Up @@ -1610,7 +1610,7 @@ struct UnrollImpl<T, N, Pos, true> {
};

template <typename T, T N, class F>
constexpr void unroll(F&& f)
RAPIDFUZZ_CONSTEXPR_CXX14 void unroll(F&& f)
{
UnrollImpl<T, N>::call(f);
}
Expand Down
2 changes: 1 addition & 1 deletion rapidfuzz/details/intrinsics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ struct UnrollImpl<T, N, Pos, true> {
};

template <typename T, T N, class F>
constexpr void unroll(F&& f)
RAPIDFUZZ_CONSTEXPR_CXX14 void unroll(F&& f)
{
UnrollImpl<T, N>::call(f);
}
Expand Down

0 comments on commit ae22db4

Please sign in to comment.