From 292ca9f563a11b38b9efd2ef7abd2f2c5a8fca68 Mon Sep 17 00:00:00 2001 From: Neargye Date: Tue, 7 Aug 2018 23:08:57 +0500 Subject: [PATCH] clean-up --- include/nameof.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nameof.hpp b/include/nameof.hpp index 5ea132d..1879d35 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -53,7 +53,7 @@ struct identity { template struct remove_all_pointers : std::conditional::value, - remove_all_pointers::type>::type>, + remove_all_pointers::type>, identity>::type {}; template @@ -75,7 +75,7 @@ class cstring final { public: constexpr cstring(const char* str, std::size_t length, std::size_t prefix = 0, std::size_t suffix = 0) noexcept : str_{str + prefix}, - size_(length - prefix - suffix) {} + size_{length - prefix - suffix} {} constexpr cstring() noexcept : cstring{nullptr, 0, 0, 0} {}