ALT Linux repos
Group :: Development/C++
RPM: boost
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: boost-1.36.0-alt-spirit-multi_pass-warnings.patch
Download
Download
--- boost/spirit/home/support/iterators/multi_pass.hpp.orig 2008-10-16 14:17:06 +0400
+++ boost/spirit/home/support/iterators/multi_pass.hpp 2008-10-16 15:01:26 +0400
@@ -55,7 +55,7 @@ namespace boost { namespace spirit
{}
explicit multi_pass(T input)
- : shared(new shared_data_type(input)), policies_base_type(input)
+ : policies_base_type(input), shared(new shared_data_type(input))
{}
#if BOOST_WORKAROUND(__GLIBCPP__, == 20020514)
@@ -79,7 +79,7 @@ namespace boost { namespace spirit
}
multi_pass(multi_pass const& x)
- : shared(x.shared), policies_base_type(x)
+ : policies_base_type(x), shared(x.shared)
{
policies_base_type::clone(*this);
}