AK: Include utility from the STD if we aren't replacing STD

If we didn't define our own `move` and `forward` and inject it into the
`std` namespace, then we would error just after trying to `using` those,
if no one has included it before. Now, we will include `utility` from
the STD if we aren't replacing the `std`.
This commit is contained in:
James Puleo 2022-01-02 04:17:05 -05:00 committed by Andreas Kling
parent fae7301ffc
commit 5b164e9934
Notes: sideshowbarker 2024-07-17 21:48:28 +09:00

View file

@ -45,6 +45,8 @@ constexpr T&& move(T& arg)
}
}
#else
#include <utility>
#endif
// clang-format on