mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
a6f89c0898
I should really figure out how to update this to lean 4...
21 lines
425 B
Plaintext
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);
|
|
}
|