mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
Make includes relative, change namespace, support unity build
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
|
||||
#include "hyperleveldb/db.h"
|
||||
|
||||
#include "db/memtable.h"
|
||||
#include "db/write_batch_internal.h"
|
||||
#include "hyperleveldb/env.h"
|
||||
#include "util/logging.h"
|
||||
#include "util/testharness.h"
|
||||
#include "memtable.h"
|
||||
#include "write_batch_internal.h"
|
||||
#include "../hyperleveldb/env.h"
|
||||
#include "../util/logging.h"
|
||||
#include "../util/testharness.h"
|
||||
|
||||
namespace leveldb {
|
||||
namespace hyperleveldb {
|
||||
|
||||
static std::string PrintContents(WriteBatch* b) {
|
||||
InternalKeyComparator cmp(BytewiseComparator());
|
||||
@@ -113,7 +113,7 @@ TEST(WriteBatchTest, Append) {
|
||||
PrintContents(&b1));
|
||||
}
|
||||
|
||||
} // namespace leveldb
|
||||
} // namespace hyperleveldb
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
return leveldb::test::RunAllTests();
|
||||
|
||||
Reference in New Issue
Block a user