diff --git a/include/cereal/details/helpers.hpp b/include/cereal/details/helpers.hpp index 909268809..d1b2e850b 100644 --- a/include/cereal/details/helpers.hpp +++ b/include/cereal/details/helpers.hpp @@ -210,7 +210,7 @@ namespace cereal { //! Internally store the pointer as a void *, keeping const if created with //! a const pointer - using PT = typename std::conditional::type>::value, + using PT = typename std::conditional::type>::type>::value, const void *, void *>::type;