yuzu-emu
/
yuzu
Archived
1
0
Fork 0

k_memory_block_manager: remove auditing calls

This commit is contained in:
Liam 2023-05-23 01:18:55 -04:00
parent e8a025b4f8
commit 5e3b3c6643
1 changed files with 2 additions and 6 deletions

View File

@ -144,14 +144,10 @@ private:
class KScopedMemoryBlockManagerAuditor {
public:
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager* m) : m_manager(m) {
ASSERT(m_manager->CheckState());
}
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager* m) : m_manager(m) {}
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager& m)
: KScopedMemoryBlockManagerAuditor(std::addressof(m)) {}
~KScopedMemoryBlockManagerAuditor() {
ASSERT(m_manager->CheckState());
}
~KScopedMemoryBlockManagerAuditor() = default;
private:
KMemoryBlockManager* m_manager;