Skip to content

Commit

Permalink
Remove [[msvc::forceinline]] for lambdas
Browse files Browse the repository at this point in the history
This attribute seems not to be accepted by at least some versions of msvc (see #28).
  • Loading branch information
veluca93 authored Nov 21, 2023
1 parent 2c94cea commit 926df95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpnge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <vector>

#if defined(_MSC_VER) && !defined(__clang__)
#define FORCE_INLINE_LAMBDA [[msvc::forceinline]]
#define FORCE_INLINE_LAMBDA
#define FORCE_INLINE __forceinline
#define __SSE4_1__ 1
#define __PCLMUL__ 1
Expand Down

0 comments on commit 926df95

Please sign in to comment.