浏览代码

[Init] initial commit

main
mwish 3 年前
父节点
当前提交
1ca4f5b466
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      util/env_posix.cc

+ 1
- 1
util/env_posix.cc 查看文件

@ -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 {

正在加载...
取消
保存