mirror of
https://github.com/matrix-construct/construct
synced 2025-01-15 17:16:49 +01:00
ircd:Ⓜ️:sync: Remove cruft.
This commit is contained in:
parent
f4b860e612
commit
9a3f37c0af
2 changed files with 0 additions and 27 deletions
|
@ -59,7 +59,6 @@ struct ircd::m::sync::item
|
|||
string_view member_name() const;
|
||||
size_t children() const;
|
||||
|
||||
bool poll(data &, const m::event &);
|
||||
bool linear(data &);
|
||||
bool polylog(data &);
|
||||
|
||||
|
|
26
ircd/m.cc
26
ircd/m.cc
|
@ -889,32 +889,6 @@ catch(const std::exception &e)
|
|||
throw;
|
||||
}
|
||||
|
||||
bool
|
||||
ircd::m::sync::item::poll(data &data,
|
||||
const m::event &event)
|
||||
try
|
||||
{
|
||||
const scope_restore theirs
|
||||
{
|
||||
data.event, &event
|
||||
};
|
||||
|
||||
return _linear(data);
|
||||
}
|
||||
catch(const std::bad_function_call &e)
|
||||
{
|
||||
thread_local char rembuf[128];
|
||||
log::dwarning
|
||||
{
|
||||
log, "poll %s '%s' missing handler :%s",
|
||||
loghead(data),
|
||||
name(),
|
||||
e.what()
|
||||
};
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
size_t
|
||||
ircd::m::sync::item::children()
|
||||
const
|
||||
|
|
Loading…
Reference in a new issue