From a3e5f27ab82006979f77a01eb836ac0aa8fa6d56 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 19 Jan 2025 01:43:38 -0600 Subject: [PATCH] [ox/std] Fix Mac build --- deps/ox/src/ox/std/anyptr.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/ox/src/ox/std/anyptr.hpp b/deps/ox/src/ox/std/anyptr.hpp index 9d566ad7..19f96bf8 100644 --- a/deps/ox/src/ox/std/anyptr.hpp +++ b/deps/ox/src/ox/std/anyptr.hpp @@ -58,9 +58,9 @@ class AnyPtrT { template constexpr AnyPtrT(T *ptr) noexcept { if (std::is_constant_evaluated()) { - m_wrapPtr = new Wrap(ptr); + m_wrapPtr = new Wrap(ptr); } else { - m_wrapPtr = new(m_wrapData.data()) Wrap(ptr); + m_wrapPtr = new(m_wrapData.data()) Wrap(ptr); } }