diff --git a/include/stdx/utility.hpp b/include/stdx/utility.hpp index 0b9dd43..12a72a6 100644 --- a/include/stdx/utility.hpp +++ b/include/stdx/utility.hpp @@ -379,7 +379,7 @@ auto cx_detect(auto f) { #ifndef CX_WRAP #define CX_WRAP(...) \ - [&]([[maybe_unused]] auto f) { \ + []([[maybe_unused]] auto f) { \ STDX_PRAGMA(diagnostic push) \ STDX_PRAGMA(diagnostic ignored "-Wold-style-cast") \ if constexpr (STDX_IS_TYPE(__VA_ARGS__)) { \