From 1c226605727317d3f6ebea6fc6da0292628836bc Mon Sep 17 00:00:00 2001 From: Alfredo Correa Date: Sun, 11 Aug 2024 17:32:43 -0700 Subject: [PATCH] Update shared_ptr_helper.hpp Attempt to solve https://github.com/boostorg/serialization/issues/319 , using the technique discussed in the thread --- include/boost/serialization/shared_ptr_helper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/serialization/shared_ptr_helper.hpp b/include/boost/serialization/shared_ptr_helper.hpp index e5542534f..5766546b3 100644 --- a/include/boost/serialization/shared_ptr_helper.hpp +++ b/include/boost/serialization/shared_ptr_helper.hpp @@ -39,10 +39,10 @@ namespace boost { namespace serialization { #ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS -template class SPT > +template class SPT, class U > void load( Archive & ar, - SPT< class U > &t, + SPT< U > &t, const unsigned int file_version ); #endif