summaryrefslogtreecommitdiff
path: root/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test.cc')
-rw-r--r--test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.cc b/test.cc
index e5fa906..81a5fb8 100644
--- a/test.cc
+++ b/test.cc
@@ -164,7 +164,7 @@ template<typename ltyp,typename rtyp> static auto cmp(int unsigned & num,int uns
auto const getval = [](auto const & valref) {
using typ = typename ::zp::remref<decltype (valref)>::typ;
- if constexpr (::zp::ischr<typ>::val) {return static_cast<::zp::i02m>(valref);}
+ if constexpr (::zp::ischrtyp<typ>::val) {return static_cast<::zp::i02m>(valref);}
else if constexpr (::zp::isptr<typ>::val) {return reinterpret_cast<void *>(valref);}
else {return valref;}
};