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} {}