mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd::db::env: Use inline initializer.
This commit is contained in:
parent
214d955979
commit
3cb48a0f00
2 changed files with 1 additions and 5 deletions
|
@ -2815,10 +2815,6 @@ try
|
|||
fs::block_size(fd):
|
||||
1
|
||||
}
|
||||
,offset
|
||||
{
|
||||
0
|
||||
}
|
||||
,aio
|
||||
{
|
||||
// When this flag is false then AIO operations are never used for this
|
||||
|
|
|
@ -181,7 +181,7 @@ struct ircd::db::database::env::sequential_file final
|
|||
fs::fd::opts opts;
|
||||
fs::fd fd;
|
||||
size_t _buffer_align;
|
||||
off_t offset;
|
||||
off_t offset {0};
|
||||
bool aio;
|
||||
|
||||
bool use_direct_io() const noexcept override;
|
||||
|
|
Loading…
Reference in a new issue