mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 23:10:54 +01:00
ircd::server: Minor assertions.
This commit is contained in:
parent
2726c67ecc
commit
477090ff52
1 changed files with 2 additions and 0 deletions
|
@ -3742,6 +3742,7 @@ ircd::server::tag::set_value(args&&... a)
|
||||||
}
|
}
|
||||||
|
|
||||||
p.set_value(code);
|
p.set_value(code);
|
||||||
|
assert(abandoned());
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class E,
|
template<class E,
|
||||||
|
@ -3770,6 +3771,7 @@ ircd::server::tag::set_exception(std::exception_ptr eptr)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
p.set_exception(std::move(eptr));
|
p.set_exception(std::move(eptr));
|
||||||
|
assert(abandoned());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
Loading…
Reference in a new issue