change hoping to fix borland test

[SVN r34172]
This commit is contained in:
Robert Ramey
2006-06-04 18:55:01 +00:00
parent a888b6a2c6
commit e4ffaa0ecc

View File

@@ -61,6 +61,16 @@ public:
{
this->detail_common_iarchive::load_override(t, 0);
}
// Borland compilers has a problem with strong type. Try to fix this here
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))
void load_override(version_type & t, int){
unsigned int x;
* this->This() >> x;
t.t = version_type(x);
}
#endif
// text file don't include the optional information
void load_override(class_id_optional_type & /*t*/, int){}