ams: basic support for compiling with gcc 15

This commit is contained in:
Michael Scire authored and SciresM committed 2025-05-09 11:55:21 -07:00
1 parent cb032006d5
commit d305d48a7e
9 files changed
+11 -16

No files matched your search

@@ -33,14 +33,14 @@ namespace ams::fs {
}
ALWAYS_INLINE ScopedSetter(ScopedSetter &&rhs) {
m_ptr = rhs.ptr;
m_value = rhs.value;
m_ptr = rhs.m_ptr;
m_value = rhs.m_value;
rhs.Reset();
}
ALWAYS_INLINE ScopedSetter &operator=(ScopedSetter &&rhs) {
m_ptr = rhs.ptr;
m_value = rhs.value;
m_ptr = rhs.m_ptr;
m_value = rhs.m_value;
rhs.Reset();
return *this;
}