remove include <utility>

This commit is contained in:
silverweed 2024-07-23 09:48:43 +02:00
parent 887e4e1946
commit 390401e771
2 changed files with 1 additions and 2 deletions

View file

@ -6,7 +6,7 @@ struct Defer_Guard {
};
struct Defer_Guard_Helper {
template <typename F>
Defer_Guard<F> operator+(F&& f) { return Defer_Guard<F>(std::forward<F>(f)); }
Defer_Guard<F> operator+(F&& f) { return Defer_Guard<F>(static_cast<F &&>(f)); }
};
#define CONCAT_STR_INTERNAL(A, B) A##B

View file

@ -14,7 +14,6 @@
#include <cstdio>
#include <cstdint>
#include <byteswap.h>
#include <utility> // for std::forward
#include <chrono>
#ifdef DEBUG