mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-22 20:55:40 +01:00
k_memory_block_manager: remove auditing calls
This commit is contained in:
parent
e8a025b4f8
commit
5e3b3c6643
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user