Workaround for 11874

This commit is contained in:
Emil Dotchevski
2017-01-03 15:25:52 -08:00
parent d39ba00088
commit e8877d4837

View File

@ -49,6 +49,7 @@ boost
v_(v) v_(v)
{ {
} }
#if (__GNUC__*100+__GNUC_MINOR__!=406) //workaround for g++ bug
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
error_info( error_info const & x ): error_info( error_info const & x ):
v_(x.v_) v_(x.v_)
@ -62,6 +63,7 @@ boost
v_(std::move(x.v_)) v_(std::move(x.v_))
{ {
} }
#endif
#endif #endif
~error_info() throw() ~error_info() throw()
{ {