0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 11:18:51 +02:00

ircd:🆑 Use non-throwing zero value for profile call when disabled.

This commit is contained in:
Jason Volk 2021-04-02 12:53:49 -07:00
parent 5962a58c1e
commit 77ebbe4528

View file

@ -1448,6 +1448,9 @@ const
cl_event(this->handle)
};
if(!profile_queue || !handle)
return {0};
char buf[4][8];
return std::array<uint64_t, 4>
{