Fix some CI warnings and C++14 build regressions

libeigen/eigen!2539
This commit is contained in:
Florian Maurin
2026-05-14 15:27:57 -07:00
committed by Rasmus Munk Larsen
parent 1978788790
commit f6cfc07a2d
11 changed files with 55 additions and 60 deletions
+2 -2
View File
@@ -158,10 +158,10 @@ void test_empty_runqueue() {
void test_stress_runqueue() {
static const int kEvents = 1 << 18;
RunQueue<int, 8> q;
std::atomic<int> total(0);
std::atomic<int64_t> total(0);
std::vector<std::unique_ptr<std::thread>> threads;
threads.emplace_back(new std::thread([&q, &total]() {
int sum = 0;
int64_t sum = 0;
int pushed = 1;
int popped = 1;
while (pushed < kEvents || popped < kEvents) {