1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

SharedBuffer: Use dbg() instead of dbgprintf()

This commit is contained in:
Liav A 2020-02-25 01:17:52 +02:00 committed by Andreas Kling
parent 1f13f51ebd
commit d376e17b5c
2 changed files with 8 additions and 8 deletions

View file

@ -52,14 +52,14 @@ public:
, m_vmobject(PurgeableVMObject::create_with_size(size))
{
#ifdef SHARED_BUFFER_DEBUG
dbgprintf("Created shared buffer %d of size %d\n", m_shared_buffer_id, size);
dbg() << "Created shared buffer " << m_shared_buffer_id << " of size " << size;
#endif
}
~SharedBuffer()
{
#ifdef SHARED_BUFFER_DEBUG
dbgprintf("Destroyed shared buffer %d of size %d\n", m_shared_buffer_id, size());
dbg() << "Destroyed shared buffer " << m_shared_buffer_id << " of size " << size();
#endif
}