22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
$OpenBSD: patch-boost_archive_basic_archive_hpp,v 1.1 2013/03/08 01:21:37 brad Exp $
|
|
--- boost/archive/basic_archive.hpp.orig Wed Oct 10 17:12:59 2012
|
|
+++ boost/archive/basic_archive.hpp Wed Oct 10 17:10:46 2012
|
|
@@ -115,7 +115,7 @@ class class_id_type { (public)
|
|
explicit class_id_type(const int t_) : t(t_){
|
|
BOOST_ASSERT(t_ <= boost::integer_traits<base_type>::const_max);
|
|
}
|
|
- explicit class_id_type(const std::size_t t_) : t(t_){
|
|
+ explicit class_id_type(const size_t t_) : t(t_){
|
|
// BOOST_ASSERT(t_ <= boost::integer_traits<base_type>::const_max);
|
|
}
|
|
class_id_type(const class_id_type & t_) :
|
|
@@ -151,7 +151,7 @@ class object_id_type { (private)
|
|
public:
|
|
object_id_type(): t(0) {};
|
|
// note: presumes that size_t >= unsigned int.
|
|
- explicit object_id_type(const std::size_t & t_) : t(t_){
|
|
+ explicit object_id_type(const size_t & t_) : t(t_){
|
|
BOOST_ASSERT(t_ <= boost::integer_traits<base_type>::const_max);
|
|
}
|
|
object_id_type(const object_id_type & t_) :
|