diff --git a/c-deps/libroach/db.cc b/c-deps/libroach/db.cc index 0d3b7da7bb17..717e4138b719 100644 --- a/c-deps/libroach/db.cc +++ b/c-deps/libroach/db.cc @@ -868,7 +868,7 @@ DBStatus DBSstFileWriterFinish(DBSstFileWriter* fw, DBString* data) { } const rocksdb::EnvOptions soptions; - rocksdb::unique_ptr sst; + std::unique_ptr sst; status = fw->memenv->NewSequentialFile("sst", &sst, soptions); if (!status.ok()) { return ToDBStatus(status); diff --git a/c-deps/libroach/engine.cc b/c-deps/libroach/engine.cc index 95c0986d5e57..853bbd995901 100644 --- a/c-deps/libroach/engine.cc +++ b/c-deps/libroach/engine.cc @@ -349,7 +349,7 @@ DBStatus DBImpl::EnvWriteFile(DBSlice path, DBSlice contents) { rocksdb::Status s; const rocksdb::EnvOptions soptions; - rocksdb::unique_ptr destfile; + std::unique_ptr destfile; s = this->rep->GetEnv()->NewWritableFile(ToString(path), &destfile, soptions); if (!s.ok()) { return ToDBStatus(s); @@ -367,7 +367,7 @@ DBStatus DBImpl::EnvWriteFile(DBSlice path, DBSlice contents) { DBStatus DBImpl::EnvOpenFile(DBSlice path, rocksdb::WritableFile** file) { rocksdb::Status status; const rocksdb::EnvOptions soptions; - rocksdb::unique_ptr rocksdb_file; + std::unique_ptr rocksdb_file; // Create the file. status = this->rep->GetEnv()->NewWritableFile(ToString(path), &rocksdb_file, soptions);