mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 02:41:49 -05:00
k_memory_block_manager: remove auditing calls
This commit is contained in:
parent
e8a025b4f8
commit
5e3b3c6643
1 changed files with 2 additions and 6 deletions
|
@ -144,14 +144,10 @@ private:
|
||||||
|
|
||||||
class KScopedMemoryBlockManagerAuditor {
|
class KScopedMemoryBlockManagerAuditor {
|
||||||
public:
|
public:
|
||||||
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager* m) : m_manager(m) {
|
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager* m) : m_manager(m) {}
|
||||||
ASSERT(m_manager->CheckState());
|
|
||||||
}
|
|
||||||
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager& m)
|
explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager& m)
|
||||||
: KScopedMemoryBlockManagerAuditor(std::addressof(m)) {}
|
: KScopedMemoryBlockManagerAuditor(std::addressof(m)) {}
|
||||||
~KScopedMemoryBlockManagerAuditor() {
|
~KScopedMemoryBlockManagerAuditor() = default;
|
||||||
ASSERT(m_manager->CheckState());
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
KMemoryBlockManager* m_manager;
|
KMemoryBlockManager* m_manager;
|
||||||
|
|
Loading…
Reference in a new issue