summaryrefslogtreecommitdiff
path: root/dev-db/mongodb/files/boost_issue_402.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/mongodb/files/boost_issue_402.patch')
-rw-r--r--dev-db/mongodb/files/boost_issue_402.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/boost_issue_402.patch b/dev-db/mongodb/files/boost_issue_402.patch
new file mode 100644
index 000000000000..cf85262093ba
--- /dev/null
+++ b/dev-db/mongodb/files/boost_issue_402.patch
@@ -0,0 +1,13 @@
+From https://github.com/boostorg/thread/commit/49ccf9c30a0ca556873dbf64b12b0d741d1b3e66
+index bbf0ffc..989baba 100644
+--- a/src/third_party/boost/boost/thread/future.hpp
++++ b/src/third_party/boost/boost/thread/future.hpp
+@@ -4669,7 +4669,7 @@ namespace detail
+ }
+ run_it& operator=(BOOST_THREAD_RV_REF(run_it) x) BOOST_NOEXCEPT {
+ if (this != &x) {
+- that_=x.that;
++ that_=x.that_;
+ x.that_.reset();
+ }
+ return *this;