diff --git a/CppConsoleTable.hpp b/CppConsoleTable.hpp index ae5b153..dde778f 100644 --- a/CppConsoleTable.hpp +++ b/CppConsoleTable.hpp @@ -113,12 +113,12 @@ namespace samilton { _alignment = firstArg; } else { - if constexpr (!std::is_same::value) { + if constexpr (!std::is_same::value) { throw std::invalid_argument("args"); } } - if constexpr (!std::is_same::value) + if constexpr (!std::is_same::value) (*this)(args..., nullptr); return *this; @@ -181,12 +181,12 @@ namespace samilton { _alignment = firstArg; } else { - if constexpr (!std::is_same::value) { + if constexpr (!std::is_same::value) { throw std::invalid_argument("args"); } } - if constexpr (!std::is_same::value) + if constexpr (!std::is_same::value) (*this)(args..., nullptr); return *this;