Pārlūkot izejas kodu

[Init] initial commit

naive_version
mwish pirms 3 gadiem
vecāks
revīzija
1ca4f5b466
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      util/env_posix.cc

+ 1
- 1
util/env_posix.cc Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt