diff --git a/BaseLib/cpp23.h b/BaseLib/cpp23.h index 23d21ae8a9209a158e1e8939dab55896e4a99783..7a740f6b806801802acaf8c1ca29e7666cc463aa 100644 --- a/BaseLib/cpp23.h +++ b/BaseLib/cpp23.h @@ -25,10 +25,9 @@ namespace BaseLib * Implementation from Scott Meyers : Modern effective c++ , Item 10 Scoped * enums */ - template <typename E> constexpr auto to_underlying(E e) noexcept { return static_cast<std::underlying_type_t<E>>(e); } -} // namespace BaseLib \ No newline at end of file +} // namespace BaseLib