File tree 3 files changed +5
-15
lines changed
3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,6 @@ class interface_oarchive
44
44
typedef mpl::bool_<true > is_saving;
45
45
46
46
// return a pointer to the most derived class
47
- #if BOOST_WORKAROUND(BOOST_GCC_VERSION,>=40900)||\
48
- BOOST_WORKAROUND (BOOST_CLANG,>=1 )&&\
49
- (__clang_major__>3 || __clang_major__==3 && __clang_minor__ >= 8 )
50
- /* https://github.com/boostorg/poly_collection/issues/15 */
51
-
52
- __attribute__((no_sanitize(" undefined" )))
53
- #endif
54
47
Archive * This (){
55
48
return static_cast <Archive*>(this );
56
49
}
Original file line number Diff line number Diff line change @@ -131,8 +131,9 @@ BOOST_ARCHIVE_DECL
131
131
xml_oarchive_impl<Archive>::~xml_oarchive_impl (){
132
132
if (boost::core::uncaught_exceptions () > 0 )
133
133
return ;
134
- if (0 == (this ->get_flags () & no_header))
135
- this ->windup ();
134
+ if (0 == (this ->get_flags () & no_header)){
135
+ this ->put (" </boost_serialization>\n " );
136
+ }
136
137
}
137
138
138
139
} // namespace archive
Original file line number Diff line number Diff line change @@ -100,13 +100,9 @@ class extended_type_info_no_rtti :
100
100
}
101
101
};
102
102
public:
103
- #if BOOST_WORKAROUND(BOOST_GCC_VERSION,>=40900)||\
104
- BOOST_WORKAROUND (BOOST_CLANG,>=1 )&&\
105
- (__clang_major__>3 || __clang_major__==3 && __clang_minor__ >= 8 )
106
- __attribute__((no_sanitize(" undefined" )))
107
- #endif
108
103
extended_type_info_no_rtti () :
109
- no_rtti_system::extended_type_info_no_rtti_0(get_key())
104
+ no_rtti_system::extended_type_info_no_rtti_0 (
105
+ action<guid_defined< T >::value >::invoke())
110
106
{
111
107
key_register ();
112
108
}
You can’t perform that action at this time.
0 commit comments