aboutsummaryrefslogtreecommitdiff
path: root/ports/boost-outcome/0001-outcome-assert.patch
diff options
context:
space:
mode:
authoryurybura <yurybura@gmail.com>2020-05-13 20:26:05 +0300
committerGitHub <noreply@github.com>2020-05-13 10:26:05 -0700
commit24e8be5fcfddd0da98b58a63cd918849787fb06f (patch)
tree328e0bd25684f1392419547c1b3360e06ba5845b /ports/boost-outcome/0001-outcome-assert.patch
parent597038559647776ee39d02dcf159da05d9342f1d (diff)
downloadvcpkg-24e8be5fcfddd0da98b58a63cd918849787fb06f.tar.gz
vcpkg-24e8be5fcfddd0da98b58a63cd918849787fb06f.zip
[boost] update to 1.73.0 (#11221)
* [boost] update to 1.73 * [ompl] remove dependency to boost-disjoint-sets * [libtorrent] include fixes from RC_1_2 branch * [liblas] fix boost headers * [freeopcua] fix std headers * [pcl] fix build with Boost 1.73.0 * [hpx] fix build with Boost 1.73.0 * [libmysql] fix conflict with C++20 header <version> * [boost-modular-build-helper] move port-specific b2 options to the file `<port_dir>/b2-options.cmake` [boost-python] support Python2 (fixes #3495) * [boost-python] remove Python executable from user-config * [libtorrent] update version after merge * [libtorrent] add boost-variant dependency
Diffstat (limited to 'ports/boost-outcome/0001-outcome-assert.patch')
-rw-r--r--ports/boost-outcome/0001-outcome-assert.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/ports/boost-outcome/0001-outcome-assert.patch b/ports/boost-outcome/0001-outcome-assert.patch
new file mode 100644
index 000000000..68ea5a50a
--- /dev/null
+++ b/ports/boost-outcome/0001-outcome-assert.patch
@@ -0,0 +1,11 @@
+--- a/include/boost/outcome/experimental/status-code/status_code_ptr.hpp 2020-04-28 09:23:14.792565200 +0100
++++ b/include/boost/outcome/experimental/status-code/status_code_ptr.hpp 2020-04-28 09:24:34.311741000 +0100
+@@ -103,7 +103,7 @@
+ #endif
+ virtual void _do_erased_copy(status_code<void> &dst, const status_code<void> &src, size_t /*unused*/) const override // NOLINT
+ {
+- assert(dst.domain() == *this);
++ // Note that dst will not have its domain set
+ assert(src.domain() == *this);
+ auto &d = static_cast<_mycode &>(dst); // NOLINT
+ const auto &_s = static_cast<const _mycode &>(src); // NOLINT