summaryrefslogtreecommitdiff
path: root/boost/serialization/base_object.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/serialization/base_object.hpp')
-rw-r--r--boost/serialization/base_object.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/boost/serialization/base_object.hpp b/boost/serialization/base_object.hpp
index 562dbd5061..7ede6473e0 100644
--- a/boost/serialization/base_object.hpp
+++ b/boost/serialization/base_object.hpp
@@ -84,16 +84,6 @@ namespace detail
};
} // namespace detail
-#if defined(__BORLANDC__) && __BORLANDC__ < 0x610
-template<class Base, class Derived>
-const Base &
-base_object(const Derived & d)
-{
- BOOST_STATIC_ASSERT(! is_pointer<Derived>::value);
- detail::base_register<Base, Derived>::invoke();
- return access::cast_reference<const Base, Derived>(d);
-}
-#else
template<class Base, class Derived>
typename detail::base_cast<Base, Derived>::type &
base_object(Derived &d)
@@ -104,7 +94,6 @@ base_object(Derived &d)
detail::base_register<type, Derived>::invoke();
return access::cast_reference<type, Derived>(d);
}
-#endif
} // namespace serialization
} // namespace boost