diff options
author | Sagar Vemuri <svemuri@fb.com> | 2018-11-09 11:17:34 -0800 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2018-11-09 11:19:58 -0800 |
commit | dc3528077a4f39723736633c7cac2f62c25894af (patch) | |
tree | 33f92de15f46e1b41a67e6bd79352753a923c7fb /db/log_reader.cc | |
parent | 8ba17f382e04a17aaa33622734fb57486e4e4af1 (diff) |
Update all unique/shared_ptr instances to be qualified with namespace std (#4638)
Summary:
Ran the following commands to recursively change all the files under RocksDB:
```
find . -type f -name "*.cc" -exec sed -i 's/ unique_ptr/ std::unique_ptr/g' {} +
find . -type f -name "*.cc" -exec sed -i 's/<unique_ptr/<std::unique_ptr/g' {} +
find . -type f -name "*.cc" -exec sed -i 's/ shared_ptr/ std::shared_ptr/g' {} +
find . -type f -name "*.cc" -exec sed -i 's/<shared_ptr/<std::shared_ptr/g' {} +
```
Running `make format` updated some formatting on the files touched.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4638
Differential Revision: D12934992
Pulled By: sagar0
fbshipit-source-id: 45a15d23c230cdd64c08f9c0243e5183934338a8
Diffstat (limited to 'db/log_reader.cc')
-rw-r--r-- | db/log_reader.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/db/log_reader.cc b/db/log_reader.cc index 6104ce32d..2c57cde5d 100644 --- a/db/log_reader.cc +++ b/db/log_reader.cc @@ -23,8 +23,9 @@ Reader::Reporter::~Reporter() { } Reader::Reader(std::shared_ptr<Logger> info_log, - unique_ptr<SequentialFileReader>&& _file, Reporter* reporter, - bool checksum, uint64_t log_num, bool retry_after_eof) + std::unique_ptr<SequentialFileReader>&& _file, + Reporter* reporter, bool checksum, uint64_t log_num, + bool retry_after_eof) : info_log_(info_log), file_(std::move(_file)), reporter_(reporter), |