From c5e0ee72573160a2b3c0104274b5612e1d538893 Mon Sep 17 00:00:00 2001 From: "Alexander U.Jurankov" Date: Thu, 15 Oct 2020 14:30:21 +0300 Subject: [PATCH] Add support for `string const` arguments --- src/logger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.hpp b/src/logger.hpp index 15a265b..ea602d0 100644 --- a/src/logger.hpp +++ b/src/logger.hpp @@ -126,7 +126,7 @@ class logger { template using enable_is_float = std::enable_if_t::value, bool>; template - using enable_is_string = std::enable_if_t::value || std::is_same::value, bool>; + using enable_is_string = std::enable_if_t::value || std::is_same::value || std::is_same::value || std::is_same::value, bool>; template using enable_is_char_string = std::enable_if_t::value || std::is_same::value, bool>; template