diff --git a/CppConsoleTable.hpp b/CppConsoleTable.hpp index 6111d61..9a7b9b1 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; @@ -614,4 +614,4 @@ namespace samilton { } } -#endif // _CPP_CONSOLE_TABLE_ \ No newline at end of file +#endif // _CPP_CONSOLE_TABLE_