[Init] initial commit
This commit is contained in:
parent
f57513a1d6
commit
1ca4f5b466
@ -108,7 +108,7 @@ class Limiter {
|
||||
class PosixSequentialFile final : public SequentialFile {
|
||||
public:
|
||||
PosixSequentialFile(std::string filename, int fd)
|
||||
: fd_(fd), filename_(filename) {}
|
||||
: fd_(fd), filename_(std::move(filename)) {}
|
||||
~PosixSequentialFile() override { close(fd_); }
|
||||
|
||||
Status Read(size_t n, Slice* result, char* scratch) override {
|
||||
|
Loading…
x
Reference in New Issue
Block a user