1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:07:34 +00:00

Update Badge<T> instantiations to simply be {}.

This commit is contained in:
Andreas Kling 2019-05-31 15:44:04 +02:00
parent fa6446fc0d
commit fdf3608c8a
11 changed files with 23 additions and 23 deletions

View file

@ -23,7 +23,7 @@ MasterPTY::~MasterPTY()
#ifdef MASTERPTY_DEBUG
dbgprintf("~MasterPTY(%u)\n", m_index);
#endif
PTYMultiplexer::the().notify_master_destroyed(Badge<MasterPTY>(), m_index);
PTYMultiplexer::the().notify_master_destroyed({}, m_index);
}
String MasterPTY::pts_name() const

View file

@ -62,5 +62,5 @@ ssize_t SlavePTY::read(FileDescriptor& descriptor, byte* buffer, ssize_t size)
void SlavePTY::close()
{
m_master->notify_slave_closed(Badge<SlavePTY>());
m_master->notify_slave_closed({});
}