src/cxx_supportlib/vendor-modified/boost/system/errc.hpp in passenger-6.0.14 vs src/cxx_supportlib/vendor-modified/boost/system/errc.hpp in passenger-6.0.15
- old
+ new
@@ -14,10 +14,11 @@
#include <boost/system/detail/error_code.hpp>
#include <boost/system/detail/error_condition.hpp>
#include <boost/system/detail/generic_category.hpp>
#include <boost/system/detail/error_category_impl.hpp>
#include <boost/system/detail/config.hpp>
+#include <boost/assert/source_location.hpp>
#include <boost/config.hpp>
namespace boost
{
@@ -31,9 +32,15 @@
// explicit conversion:
BOOST_SYSTEM_CONSTEXPR inline error_code make_error_code( errc_t e ) BOOST_NOEXCEPT
{
return error_code( e, generic_category() );
+}
+
+// explicit conversion:
+inline error_code make_error_code( errc_t e, boost::source_location const * loc ) BOOST_NOEXCEPT
+{
+ return error_code( e, generic_category(), loc );
}
// implicit conversion:
BOOST_SYSTEM_CONSTEXPR inline error_condition make_error_condition( errc_t e ) BOOST_NOEXCEPT
{