mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
annotate the fault injector parameter RocksDbLocalStore as non-null
Summary: Add a `FOLLY_NONNULL` annotation for this parameter. Reviewed By: wez Differential Revision: D15350215 fbshipit-source-id: 14a65d82a2c2422d8be2e3b0dccf8763758549d0
This commit is contained in:
parent
59ff8f90b5
commit
ce5c0da51e
@ -8,6 +8,8 @@
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
#include <folly/CppAttributes.h>
|
||||
|
||||
#include "eden/fs/rocksdb/RocksHandles.h"
|
||||
#include "eden/fs/store/LocalStore.h"
|
||||
#include "eden/fs/utils/UnboundedQueueExecutor.h"
|
||||
@ -26,7 +28,9 @@ class RocksDbLocalStore : public LocalStore {
|
||||
* The given FaultInjector must be valid during the lifetime of this
|
||||
* RocksDbLocalStore object.
|
||||
*/
|
||||
explicit RocksDbLocalStore(AbsolutePathPiece pathToRocksDb, FaultInjector*);
|
||||
explicit RocksDbLocalStore(
|
||||
AbsolutePathPiece pathToRocksDb,
|
||||
FaultInjector* FOLLY_NONNULL faultInjector);
|
||||
~RocksDbLocalStore();
|
||||
void close() override;
|
||||
void clearKeySpace(KeySpace keySpace) override;
|
||||
|
Loading…
Reference in New Issue
Block a user