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:
Adam Simpkins 2019-05-15 12:15:49 -07:00 committed by Facebook Github Bot
parent 59ff8f90b5
commit ce5c0da51e

View File

@ -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;