diff --git a/rpcs3/util/shared_ptr.hpp b/rpcs3/util/shared_ptr.hpp index 6dd1607498..d932a1c385 100644 --- a/rpcs3/util/shared_ptr.hpp +++ b/rpcs3/util/shared_ptr.hpp @@ -605,10 +605,10 @@ namespace stx template static constexpr bool is_stx_pointer = false - || is_instance_of, shared_ptr>::value - || is_instance_of, single_ptr>::value - || is_instance_of, atomic_ptr>::value; - || std::is_same_v; + || is_instance_of, shared_ptr>::value + || is_instance_of, single_ptr>::value + || is_instance_of, atomic_ptr>::value; + || std::is_same_v, null_ptr_t>; public: using element_type = std::remove_extent_t;