office-gobmx/external/boost/boost.spirit.noreturn.patch
Caolán McNamara b4eda68181 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>
2024-05-12 14:05:08 +02:00

11 lines
410 B
Diff

--- 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(