summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-05-23 07:18:55 +0200
committerLiam <byteslice@airmail.cc>2023-05-23 15:15:16 +0200
commit5e3b3c6643817a8174823910886f9df162ff368d (patch)
tree623b7aa54eab3229456dc1412eea1820d3c039bb
parentMerge pull request #10386 from german77/high (diff)
downloadyuzu-5e3b3c6643817a8174823910886f9df162ff368d.tar
yuzu-5e3b3c6643817a8174823910886f9df162ff368d.tar.gz
yuzu-5e3b3c6643817a8174823910886f9df162ff368d.tar.bz2
yuzu-5e3b3c6643817a8174823910886f9df162ff368d.tar.lz
yuzu-5e3b3c6643817a8174823910886f9df162ff368d.tar.xz
yuzu-5e3b3c6643817a8174823910886f9df162ff368d.tar.zst
yuzu-5e3b3c6643817a8174823910886f9df162ff368d.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_memory_block_manager.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/hle/kernel/k_memory_block_manager.h b/src/core/hle/kernel/k_memory_block_manager.h
index 7c0bd16f0..96496e990 100644
--- a/src/core/hle/kernel/k_memory_block_manager.h
+++ b/src/core/hle/kernel/k_memory_block_manager.h
@@ -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;