mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix clang compile
This commit is contained in:
@@ -1488,11 +1488,11 @@ struct DBImpl::Writer {
|
||||
Writer* next;
|
||||
uint64_t start_sequence;
|
||||
uint64_t end_sequence;
|
||||
std::tr1::shared_ptr<WritableFile> logfile;
|
||||
std::tr1::shared_ptr<log::Writer> log;
|
||||
std::shared_ptr<WritableFile> logfile;
|
||||
std::shared_ptr<log::Writer> log;
|
||||
MemTable* mem;
|
||||
std::tr1::shared_ptr<WritableFile> old_logfile;
|
||||
std::tr1::shared_ptr<log::Writer> old_log;
|
||||
std::shared_ptr<WritableFile> old_logfile;
|
||||
std::shared_ptr<log::Writer> old_log;
|
||||
|
||||
explicit Writer()
|
||||
: mtx(),
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <deque>
|
||||
#include <list>
|
||||
#include <set>
|
||||
#include <tr1/memory>
|
||||
#include <memory>
|
||||
|
||||
#include "dbformat.h"
|
||||
#include "log_writer.h"
|
||||
@@ -161,9 +161,9 @@ class DBImpl : public DB {
|
||||
MemTable* mem_;
|
||||
MemTable* imm_; // Memtable being compacted
|
||||
port::AtomicPointer has_imm_; // So bg thread can detect non-NULL imm_
|
||||
std::tr1::shared_ptr<WritableFile> logfile_;
|
||||
std::shared_ptr<WritableFile> logfile_;
|
||||
uint64_t logfile_number_;
|
||||
std::tr1::shared_ptr<log::Writer> log_;
|
||||
std::shared_ptr<log::Writer> log_;
|
||||
uint32_t seed_; // For sampling.
|
||||
|
||||
// Synchronize writers
|
||||
|
||||
Reference in New Issue
Block a user