mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd::db: Provide len to elide the strlen(buf) on string_view{buf}.
This commit is contained in:
parent
59bd14e862
commit
01feeaab6e
1 changed files with 1 additions and 1 deletions
|
@ -1068,7 +1068,7 @@ ircd::db::database::logs::Logv(const rocksdb::InfoLogLevel level,
|
|||
const auto str
|
||||
{
|
||||
// RocksDB adds annoying leading whitespace to attempt to right-justify things and idc
|
||||
lstrip(buf, ' ')
|
||||
lstrip(string_view{buf, size_t(len)}, ' ')
|
||||
};
|
||||
|
||||
// Skip the options for now
|
||||
|
|
Loading…
Reference in a new issue