util: pointer traits only if <memory>/stratosphere

This commit is contained in:
Michael Scire 2022-03-24 18:24:19 -07:00
parent dfa475a769
commit 817ad8f98d

View file

@ -17,6 +17,7 @@
#include <vapours/common.hpp> #include <vapours/common.hpp>
#include <vapours/assert.hpp> #include <vapours/assert.hpp>
#if defined(ATMOSPHERE_IS_STRATOSPHERE)
namespace ams::util { namespace ams::util {
namespace impl { namespace impl {
@ -60,3 +61,4 @@ namespace ams::util {
concept RawOrSmartPointerTo = IsRawOrSmartPointer<T> && impl::PointerToImpl<T, U>; concept RawOrSmartPointerTo = IsRawOrSmartPointer<T> && impl::PointerToImpl<T, U>;
} }
#endif