Ticket #3037: patch2-fix.txt

File patch2-fix.txt, 584 bytes (added by Marvin.Sielenkemper@…, 13 years ago)

the collapsing fix

Line 
1Index: D:/boost/boost.build/libs/serialization/src/extended_type_info.cpp
2===================================================================
3--- D:/boost/boost.build/libs/serialization/src/extended_type_info.cpp (revision 138997)
4+++ D:/boost/boost.build/libs/serialization/src/extended_type_info.cpp (revision 138998)
5@@ -78,6 +78,8 @@
6 BOOST_SERIALIZATION_DECL(void)
7 extended_type_info::key_register(const char *key) {
8 assert(NULL != key);
9+ if (m_key)
10+ return;
11 m_key = key;
12 singleton<detail::ktmap>::get_mutable_instance().insert(this);
13 }