diff --git a/include/utils.hpp b/include/utils.hpp index 4ee0b0d..be87199 100644 --- a/include/utils.hpp +++ b/include/utils.hpp @@ -13,7 +13,7 @@ namespace utils { constexpr char fill_char = ' '; -enum just { right, left }; +enum just : uint8_t { right, left }; std::string pad(std::string s, uint8_t len, just j = right); std::string center(std::string str, uint8_t len);