mirror of
https://github.com/tkuschel/bees.git
synced 2025-11-18 07:19:14 +01:00
bees: use C++11 syntax for constant initializers
This lets us use more default constructors. Signed-off-by: Zygo Blaxell <bees@furryterror.org> (cherry picked from commit 8a932a632ff4602a0357ed5fbcd3f86b6bc50283)
This commit is contained in:
@@ -256,12 +256,12 @@ class BeesFileRange {
|
||||
protected:
|
||||
mutable Fd m_fd;
|
||||
mutable BeesFileId m_fid;
|
||||
off_t m_begin, m_end;
|
||||
mutable off_t m_file_size;
|
||||
off_t m_begin = 0, m_end = 0;
|
||||
mutable off_t m_file_size = -1;
|
||||
|
||||
public:
|
||||
|
||||
BeesFileRange();
|
||||
BeesFileRange() = default;
|
||||
BeesFileRange(Fd fd, off_t begin, off_t end);
|
||||
BeesFileRange(const BeesFileId &fid, off_t begin, off_t end);
|
||||
BeesFileRange(const BeesBlockData &bbd);
|
||||
|
||||
Reference in New Issue
Block a user