Browse Source

Clean up layering of storage/leveldb/...

With these changes, this package should be properly cleaned up and not require
any further changes.
xry
Chris Mumford 10 years ago
parent
commit
a75d435d1d
3 changed files with 5 additions and 0 deletions
  1. +1
    -0
      db/snapshot.h
  2. +1
    -0
      db/write_batch_internal.h
  3. +3
    -0
      table/iterator_wrapper.h

+ 1
- 0
db/snapshot.h View File

@ -5,6 +5,7 @@
#ifndef STORAGE_LEVELDB_DB_SNAPSHOT_H_
#define STORAGE_LEVELDB_DB_SNAPSHOT_H_
#include "db/dbformat.h"
#include "leveldb/db.h"
namespace leveldb {

+ 1
- 0
db/write_batch_internal.h View File

@ -5,6 +5,7 @@
#ifndef STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
#define STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
#include "db/dbformat.h"
#include "leveldb/write_batch.h"
namespace leveldb {

+ 3
- 0
table/iterator_wrapper.h View File

@ -5,6 +5,9 @@
#ifndef STORAGE_LEVELDB_TABLE_ITERATOR_WRAPPER_H_
#define STORAGE_LEVELDB_TABLE_ITERATOR_WRAPPER_H_
#include "leveldb/iterator.h"
#include "leveldb/slice.h"
namespace leveldb {
// A internal wrapper class with an interface similar to Iterator that

Loading…
Cancel
Save