add noreturn to boost::spirit::throw_
Change-Id: Iac1d998a408d756f50f7c18944f4e1f8afef2e83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167523 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
+2
@@ -34,6 +34,8 @@ boost_patches += boost.file_iterator.sharing_win.patch
|
||||
|
||||
boost_patches += Wundef.patch.0
|
||||
|
||||
boost_patches += boost.spirit.noreturn.patch
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_set_tarball,boost,$(BOOST_TARBALL)))
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
--- foo/misc/boost/boost/spirit/home/classic/error_handling/exceptions.hpp
|
||||
+++ foo/misc/boost/boost/spirit/home/classic/error_handling/exceptions.hpp
|
||||
@@ -101,7 +101,7 @@
|
||||
|
||||
//////////////////////////////////
|
||||
template <typename ErrorDescrT, typename IteratorT>
|
||||
- inline void
|
||||
+ [[noreturn]] inline void
|
||||
throw_(IteratorT where, ErrorDescrT descriptor)
|
||||
{
|
||||
boost::throw_exception(
|
||||
Reference in New Issue
Block a user