Files
ports/math/lean/patches/patch-src_library_parray_h
tb a6f89c0898 math/lean: fix build with llvm 19
I should really figure out how to update this to lean 4...
2025-01-29 11:34:37 +00:00

21 lines
425 B
Plaintext

Fix build with llvm 19
Index: src/library/parray.h
--- src/library/parray.h.orig
+++ src/library/parray.h
@@ -586,14 +586,6 @@ class parray { (public)
return *this;
}
- parray & operator=(parray && s) {
- if (m_cell)
- dec_ref(m_cell);
- m_cell = s.m_ptr;
- s.m_ptr = nullptr;
- return *this;
- }
-
size_t size() const {
return size(m_cell);
}