mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
cd19f85116
Fix error with llvm 19 compile: ./misc.hh:384:13: error: no member named 'arrayExtra' in 'NotSoSimpleVector<T>' 384 | this->arrayExtra = NULL; | ~~~~ ^ MFH: 2024Q4
12 lines
393 B
C++
12 lines
393 B
C++
--- lout/misc.hh.orig 2024-05-04 04:01:21.000000000 -0700
|
|
+++ lout/misc.hh 2024-10-25 09:28:31.897945000 -0700
|
|
@@ -310,7 +310,7 @@
|
|
template <class T> class NotSoSimpleVector
|
|
{
|
|
private:
|
|
- T *arrayMain, *arrayExtra1, *arrayExtra2;
|
|
+ T *arrayMain, *arrayExtra, *arrayExtra1, *arrayExtra2;
|
|
int numMain, numExtra, numAllocMain, numAllocExtra, startExtra;
|
|
|
|
inline void resizeMain ()
|