From 6808adc8a1769e8c8a4662d98e27933f3b8c1737 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 13 Apr 2024 00:35:49 -0500 Subject: [PATCH] [ox/std] Replace ox::ignore with std::ignore --- deps/ox/src/ox/std/ignore.hpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/deps/ox/src/ox/std/ignore.hpp b/deps/ox/src/ox/std/ignore.hpp index 771cb7e4..5ce40f0c 100644 --- a/deps/ox/src/ox/std/ignore.hpp +++ b/deps/ox/src/ox/std/ignore.hpp @@ -4,10 +4,17 @@ #pragma once -namespace ox { +#if __has_include() + +#include + +#else + +namespace std { inline constexpr struct { constexpr void operator=(auto&&) const noexcept {} } ignore; -} \ No newline at end of file +} +#endif