diff options
author | Fernando S <fsahmkow27@gmail.com> | 2023-05-24 03:56:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 03:56:58 +0200 |
commit | 4ee4fdf78cdf1fb112567e527896c832364342af (patch) | |
tree | d169a4b768ff8f6db447f97bce4aa5cab66850ec | |
parent | Merge pull request #10398 from liamwhite/bcn (diff) | |
parent | k_memory_block_manager: remove auditing calls (diff) | |
download | yuzu-4ee4fdf78cdf1fb112567e527896c832364342af.tar yuzu-4ee4fdf78cdf1fb112567e527896c832364342af.tar.gz yuzu-4ee4fdf78cdf1fb112567e527896c832364342af.tar.bz2 yuzu-4ee4fdf78cdf1fb112567e527896c832364342af.tar.lz yuzu-4ee4fdf78cdf1fb112567e527896c832364342af.tar.xz yuzu-4ee4fdf78cdf1fb112567e527896c832364342af.tar.zst yuzu-4ee4fdf78cdf1fb112567e527896c832364342af.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_memory_block_manager.h | 8 |
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; |