diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-24 19:36:17 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-24 19:36:17 +0100 |
commit | b8a14c36f9d765102ad2329d522caa1469a6e912 (patch) | |
tree | 7f8fa04659e973145330cd771ea450ad76785fca /compat/macros.hpp | |
parent | 2dde6a085f459f8aee5a868ef7a7dcc591af18f0 (diff) |
compat/macros: rename awkward ident in macro
Diffstat (limited to 'compat/macros.hpp')
-rw-r--r-- | compat/macros.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp index 05603e7b..08be9b4a 100644 --- a/compat/macros.hpp +++ b/compat/macros.hpp @@ -32,7 +32,7 @@ using to_const_ref_t = std::add_lvalue_reference_t<std::add_const_t<remove_cvref #define eval_once2(expr, ctr) \ ([&] { \ [[maybe_unused]] \ - static auto PP_CAT(eval_once_, ctr) = (((void)(expr)), 0); \ + static auto PP_CAT(init, ctr) = (((void)(expr)), 0); \ }()) template<typename t> |