diff --git a/include/cereal/details/polymorphic_impl.hpp b/include/cereal/details/polymorphic_impl.hpp index 08d6f3c25..32daa44c1 100644 --- a/include/cereal/details/polymorphic_impl.hpp +++ b/include/cereal/details/polymorphic_impl.hpp @@ -261,7 +261,7 @@ namespace cereal writeMetadata(ar); - savePolymorphicSharedPtr( ar, dptr, typename ::cereal::traits::has_shared_from_this::type() ); + savePolymorphicSharedPtr( ar, dptr, ::cereal::traits::has_shared_from_this::type() ); }; serializers.unique_ptr =