summaryrefslogtreecommitdiff
path: root/sci-libs/libsemigroups/files/libsemigroups-2.7.3-gcc-15-buildfix.patch
blob: 40214b18b9ad07b579d2a2d2c5b6814935f5c7b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From b7a413284e408280336ee681dd031877d779d0ea Mon Sep 17 00:00:00 2001
From: "James D. Mitchell" <jdm3@st-andrews.ac.uk>
Date: Mon, 29 Jul 2024 11:13:32 +0100
Subject: [PATCH] sims: fix issue 557

---
 include/libsemigroups/sims1.tpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/libsemigroups/sims1.tpp b/include/libsemigroups/sims1.tpp
index bc8bda372..698845222 100644
--- a/include/libsemigroups/sims1.tpp
+++ b/include/libsemigroups/sims1.tpp
@@ -619,7 +619,7 @@ namespace libsemigroups {
   typename Sims1<T>::iterator_base&
   Sims1<T>::iterator_base::operator=(Sims1<T>::iterator_base&& that) {
     _extra           = std::move(that._extra);
-    _longs           = std::move(that.long_rules());
+    _longs           = std::move(that._longs);
     _max_num_classes = std::move(that._max_num_classes);
     _min_target_node = std::move(that._min_target_node);
     _felsch_graph    = std::move(that._felsch_graph);