From 80b906b2ae3c4a6f13b2e657ff206513a3214533 Mon Sep 17 00:00:00 2001 From: Markus Borris Date: Thu, 16 Feb 2023 18:01:38 +0100 Subject: [PATCH] fix build, std::nullptr_t --- CppConsoleTable.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;