diff options
author | Sven Gothel <[email protected]> | 2022-11-11 03:49:08 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-11-11 03:49:08 +0100 |
commit | 5228da9c5c66d01aff56a1db490753da8116378d (patch) | |
tree | b76b7e56aa45174f5e6b74442b5f1b61fb6f7cf5 /include/jau/token_fsm.hpp | |
parent | 22e6e205d5ec7758a93230cf06616f4e53f06c06 (diff) |
token_fsm: Cleanup trait line, include type_traits
Diffstat (limited to 'include/jau/token_fsm.hpp')
-rw-r--r-- | include/jau/token_fsm.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/jau/token_fsm.hpp b/include/jau/token_fsm.hpp index d5f120d..0de88a5 100644 --- a/include/jau/token_fsm.hpp +++ b/include/jau/token_fsm.hpp @@ -38,6 +38,7 @@ #include <vector> #include <string> +#include <type_traits> #include <jau/int_types.hpp> #include <jau/darray.hpp> @@ -212,8 +213,7 @@ namespace jau::lang { template<typename State_type, std::enable_if_t<std::is_integral_v<State_type> && std::is_unsigned_v<State_type> && - sizeof(alphabet::code_point_t) <= sizeof(State_type), - bool> = true> + sizeof(alphabet::code_point_t) <= sizeof(State_type), bool> = true> class token_fsm { public: /** |