aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2025-04-26 11:42:46 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2025-04-26 13:35:12 +0300
commit3c625595a4d9084daef7f7894b5f695aceac1833 (patch)
tree6d88c8dea0acd1b38f0160ff2ab786a4b93ad1f7
parenta84957f027ead1a6376568571602d5357a9f9e7c (diff)
downloadydb-3c625595a4d9084daef7f7894b5f695aceac1833.tar.gz
Update contrib/restricted/boost/assert to 1.88.0
commit_hash:931ef1a282827767edaf1969e8ca96ac243cc242
-rw-r--r--contrib/restricted/boost/assert/.yandex_meta/default.nix4
-rw-r--r--contrib/restricted/boost/assert/include/boost/assert.hpp6
-rw-r--r--contrib/restricted/boost/assert/include/boost/assert/source_location.hpp9
-rw-r--r--contrib/restricted/boost/assert/ya.make4
4 files changed, 18 insertions, 5 deletions
diff --git a/contrib/restricted/boost/assert/.yandex_meta/default.nix b/contrib/restricted/boost/assert/.yandex_meta/default.nix
index e4514b5f46e..cc907e8787c 100644
--- a/contrib/restricted/boost/assert/.yandex_meta/default.nix
+++ b/contrib/restricted/boost/assert/.yandex_meta/default.nix
@@ -1,13 +1,13 @@
self: super: with self; {
boost_assert = stdenv.mkDerivation rec {
pname = "boost_assert";
- version = "1.87.0";
+ version = "1.88.0";
src = fetchFromGitHub {
owner = "boostorg";
repo = "assert";
rev = "boost-${version}";
- hash = "sha256-gxA+/HvbCn2Eq5q+Jp8aX58N0f9TJdNPd4ZJfWKP3sI=";
+ hash = "sha256-sBQQ8efXevprZVGNOVnyiNGcYDL72BWBQe5KqHCQ8+U=";
};
};
}
diff --git a/contrib/restricted/boost/assert/include/boost/assert.hpp b/contrib/restricted/boost/assert/include/boost/assert.hpp
index 9650d7a2908..48c9bcccc8e 100644
--- a/contrib/restricted/boost/assert/include/boost/assert.hpp
+++ b/contrib/restricted/boost/assert/include/boost/assert.hpp
@@ -46,7 +46,13 @@
namespace boost
{
+#if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
+ BOOST_NORETURN
+#endif
void assertion_failed(char const * expr, char const * function, char const * file, long line); // user defined
+#if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
+ BOOST_NORETURN
+#endif
void assertion_failed_msg(char const * expr, char const * msg, char const * function, char const * file, long line); // user defined
} // namespace boost
diff --git a/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp b/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp
index c6eae32515a..3c2d60e6499 100644
--- a/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp
+++ b/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp
@@ -9,11 +9,14 @@
#include <boost/config.hpp>
#include <boost/cstdint.hpp>
-#include <iosfwd>
#include <string>
#include <cstdio>
#include <cstring>
+#if !defined(BOOST_NO_IOSTREAM)
+#include <iosfwd>
+#endif
+
#if defined(__cpp_lib_source_location) && __cpp_lib_source_location >= 201907L
# include <source_location>
#endif
@@ -132,12 +135,16 @@ public:
}
};
+#if !defined(BOOST_NO_IOSTREAM)
+
template<class E, class T> std::basic_ostream<E, T> & operator<<( std::basic_ostream<E, T> & os, source_location const & loc )
{
os << loc.to_string();
return os;
}
+#endif
+
} // namespace boost
#if defined(BOOST_DISABLE_CURRENT_LOCATION)
diff --git a/contrib/restricted/boost/assert/ya.make b/contrib/restricted/boost/assert/ya.make
index 2ce68b77e52..89162ad9abd 100644
--- a/contrib/restricted/boost/assert/ya.make
+++ b/contrib/restricted/boost/assert/ya.make
@@ -6,9 +6,9 @@ LICENSE(BSL-1.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.87.0)
+VERSION(1.88.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/assert/archive/boost-1.87.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/assert/archive/boost-1.88.0.tar.gz)
PEERDIR(
contrib/restricted/boost/config