summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-05-24 03:56:58 +0200
committerGitHub <noreply@github.com>2023-05-24 03:56:58 +0200
commit4ee4fdf78cdf1fb112567e527896c832364342af (patch)
treed169a4b768ff8f6db447f97bce4aa5cab66850ec
parentMerge pull request #10398 from liamwhite/bcn (diff)
parentk_memory_block_manager: remove auditing calls (diff)
downloadyuzu-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
-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;