1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Fix compiler warning. This patch has been already merged into trunk.

Obtained from:	https://svn.boost.org/trac/boost/ticket/8525
This commit is contained in:
Hiroki Sato 2015-09-07 20:38:33 +00:00
parent 31d1dac112
commit 39f3cbd235
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396345
2 changed files with 21 additions and 3 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= boost-libs
COMMENT= Free portable C++ libraries (without Boost.Python)
PORTREVISION= 5
PORTREVISION= 6
BUILD_DEPENDS+= bjam:${PORTSDIR}/devel/boost-jam

View File

@ -1,5 +1,5 @@
--- boost/archive/iterators/transform_width.hpp.orig 2013-04-28 18:07:27.000000000 +0200
+++ boost/archive/iterators/transform_width.hpp 2014-06-09 17:27:54.615330893 +0200
--- boost/archive/iterators/transform_width.hpp.orig 2013-04-29 01:07:27.000000000 +0900
+++ boost/archive/iterators/transform_width.hpp 2015-08-30 04:46:06.968463000 +0900
@@ -30,6 +30,8 @@
#include <boost/iterator/iterator_adaptor.hpp>
#include <boost/iterator/iterator_traits.hpp>
@ -9,3 +9,21 @@
namespace boost {
namespace archive {
namespace iterators {
@@ -112,6 +114,7 @@
transform_width(BOOST_PFTO_WRAPPER(T) start) :
super_t(Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start)))),
m_buffer_out_full(false),
+ m_buffer_in(0),
m_remaining_bits(0),
m_end_of_sequence(false)
{}
@@ -119,8 +122,8 @@
transform_width(const transform_width & rhs) :
super_t(rhs.base_reference()),
m_buffer_out_full(rhs.m_buffer_out_full),
- m_remaining_bits(rhs.m_remaining_bits),
m_buffer_in(rhs.m_buffer_in),
+ m_remaining_bits(rhs.m_remaining_bits),
m_end_of_sequence(false)
{}
};