mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 16:30:56 +00:00
Complication error when using gcc 4.7.1.
Summary: There is a compilation error while using gcc 4.7.1. util/ldb_cmd.cc:381:3: error: ‘leveldb::ReadOptions::ReadOptions’ names the constructor, not the type util/ldb_cmd.cc:381:37: error: expected ‘;’ before ‘read_options’ util/ldb_cmd.cc:381:49: error: statement cannot resolve address of overloaded function Test Plan: make clean check Reviewers: sheki, emayanke, zshao Reviewed By: emayanke CC: leveldb Differential Revision: https://reviews.facebook.net/D7659
This commit is contained in:
parent
0f762ac573
commit
5b05417df3
|
@ -378,8 +378,8 @@ void DBQuerier::DoCommand() {
|
|||
return;
|
||||
}
|
||||
|
||||
leveldb::ReadOptions::ReadOptions read_options;
|
||||
leveldb::WriteOptions::WriteOptions write_options;
|
||||
leveldb::ReadOptions read_options;
|
||||
leveldb::WriteOptions write_options;
|
||||
|
||||
std::string line;
|
||||
std::string key;
|
||||
|
|
Loading…
Reference in a new issue