Include options.h in table.h (#6823)
Summary: https://github.com/facebook/rocksdb/issues/6389 replaced the #include of options.h in table.h with forward declarations, which is causing some build failures in RocksDB users in 6.10. Remove the forward declarations and #include options.h as recommended by the style guide - https://google.github.io/styleguide/cppguide.html#Forward_Declarations Pull Request resolved: https://github.com/facebook/rocksdb/pull/6823 Reviewed By: riversand963 Differential Revision: D21464078 Pulled By: anand1976 fbshipit-source-id: 6033ee2544d279690f57bb0db91bc83816cee11d
This commit is contained in:
parent
60de1e6c6d
commit
f08ee8d3de
@ -25,6 +25,7 @@
|
||||
#include "rocksdb/cache.h"
|
||||
#include "rocksdb/env.h"
|
||||
#include "rocksdb/iterator.h"
|
||||
#include "rocksdb/options.h"
|
||||
#include "rocksdb/status.h"
|
||||
|
||||
namespace ROCKSDB_NAMESPACE {
|
||||
@ -40,11 +41,8 @@ class TableBuilder;
|
||||
class TableFactory;
|
||||
class TableReader;
|
||||
class WritableFileWriter;
|
||||
struct ColumnFamilyOptions;
|
||||
struct ConfigOptions;
|
||||
struct DBOptions;
|
||||
struct EnvOptions;
|
||||
struct Options;
|
||||
|
||||
enum ChecksumType : char {
|
||||
kNoChecksum = 0x0,
|
||||
|
Loading…
Reference in New Issue
Block a user