Skip to content

Commit e36cb70

Browse files
committed
fix(ci): add missing <utility> header for std::exchange
std::exchange requires the <utility> header. This fixes compilation errors on GCC 12 and other compilers that don't implicitly include it.
1 parent 8b95b1a commit e36cb70

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/02-memory-cache/src/alignment.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <cstring>
2121
#include <iostream>
2222
#include <memory>
23+
#include <utility>
2324
#include <vector>
2425

2526
#ifdef __AVX2__

0 commit comments

Comments
 (0)