Optimize logging via logs::channel

Use constant-initialized severity subobjects instead of temporaries
This commit is contained in:
Nekotekina 2018-09-16 00:36:20 +03:00
parent b94e98aed5
commit ed8aa774bb
3 changed files with 15 additions and 19 deletions

View file

@ -239,7 +239,7 @@ void logs::listener::add(logs::listener* _new)
}
}
void logs::message::broadcast(const char* fmt, const fmt_type_info* sup, const u64* args)
void logs::message::broadcast(const char* fmt, const fmt_type_info* sup, const u64* args) const
{
// Get timestamp
const u64 stamp = get_stamp();