Skip to content

Commit 1de757e

Browse files
committed
Fix includes in memspace test fixtures
This file uses `std::find` and `std::any_of` which are part of the `<algorithm>` header, but it wasn't including it. When building with gcc 14 this caused build issues such as: ``` memspace_fixtures.hpp:204:26: error: ‘any_of’ is not a member of ‘std’ ``` With this patch adding the include building UMF with gcc 14 works fine.
1 parent ae5ad2e commit 1de757e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/memspaces/memspace_fixtures.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#ifndef UMF_TEST_MEMSPACE_FIXTURES_HPP
66
#define UMF_TEST_MEMSPACE_FIXTURES_HPP
77

8+
#include <algorithm>
89
#include <numa.h>
910
#include <numaif.h>
1011
#include <thread>

0 commit comments

Comments
 (0)