export for gcc

[SVN r24424]
This commit is contained in:
Robert Ramey
2004-08-12 01:56:17 +00:00
parent 1ebe440131
commit 765aece9e3
2 changed files with 8 additions and 8 deletions

View File

@@ -102,11 +102,11 @@ template<class Archive, class T>
class iserializer : public basic_iserializer
{
private:
static void BOOST_FORCE_INCLUDE static_load_object_data(
static void BOOST_FORCE_INCLUDE(static_load_object_data(
basic_iarchive & ar,
void *x,
const unsigned int file_version
){
)){
// make sure call is routed through the higest interface that might
// be specialized by the user.
boost::serialization::serialize_adl(
@@ -167,11 +167,11 @@ template<class T, class Archive>
class pointer_iserializer : public archive_pointer_iserializer<Archive>
{
private:
static void BOOST_FORCE_INCLUDE static_load_object_ptr(
static void BOOST_FORCE_INCLUDE(static_load_object_ptr(
basic_iarchive & ar,
void * & x,
const unsigned int file_version
){
)){
boost::serialization::load_ptr_adl(
boost::smart_cast_reference<Archive &>(ar),
reinterpret_cast<T * &>(x),

View File

@@ -104,11 +104,11 @@ template<class Archive, class T>
class oserializer : public basic_oserializer
{
private:
static void BOOST_FORCE_INCLUDE static_save_object_data(
static void BOOST_FORCE_INCLUDE(static_save_object_data(
basic_oarchive & ar,
const void *x,
unsigned int version
) {
)){
// make sure call is routed through the highest interface that might
// be specialized by the user.
boost::serialization::serialize_adl(
@@ -162,10 +162,10 @@ template<class T, class Archive>
class pointer_oserializer : public archive_pointer_oserializer<Archive>
{
private:
static void BOOST_FORCE_INCLUDE static_save_object_ptr(
static void BOOST_FORCE_INCLUDE(static_save_object_ptr(
basic_oarchive & ar,
const void * x
){
)){
assert(NULL != x);
// make sure call is routed through the highest interface that might
// be specialized by the user.