zug: fix build with GCC 15 (#472457)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
diff --git a/zug/sequence.hpp b/zug/sequence.hpp
|
||||
index d7ac093..bffb771 100644
|
||||
--- a/zug/sequence.hpp
|
||||
+++ b/zug/sequence.hpp
|
||||
@@ -76,8 +76,9 @@ struct sequence_data
|
||||
|
||||
sequence_data& operator=(sequence_data&& other)
|
||||
{
|
||||
- impl_ = std::move(other.impl);
|
||||
+ impl_ = std::move(other.impl_);
|
||||
impl_.reductor.current(this);
|
||||
+ return *this;
|
||||
}
|
||||
|
||||
sequence_data& operator=(const sequence_data& other)
|
||||
@@ -24,6 +24,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
url = "https://github.com/arximboldi/zug/commit/c8c74ada30d931e40636c13763b892f20d3ce1ae.patch";
|
||||
hash = "sha256-0x+ScRnziBeyHWYJowcVb2zahkcK2qKrMVVk2twhtHA=";
|
||||
})
|
||||
|
||||
# https://github.com/arximboldi/zug/issues/45
|
||||
./gcc15.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
Reference in New Issue
Block a user