Declare _canPipelineCommits to be const.
This commit is contained in:
parent
e258dffc65
commit
6062520197
|
@ -186,7 +186,7 @@ struct StorageServerDisk {
|
||||||
private:
|
private:
|
||||||
struct StorageServer* data;
|
struct StorageServer* data;
|
||||||
IKeyValueStore* storage;
|
IKeyValueStore* storage;
|
||||||
bool _canPipelineCommits;
|
const bool _canPipelineCommits;
|
||||||
|
|
||||||
ACTOR static Future<Key> readFirstKey( IKeyValueStore* storage, KeyRangeRef range ) {
|
ACTOR static Future<Key> readFirstKey( IKeyValueStore* storage, KeyRangeRef range ) {
|
||||||
Standalone<RangeResultRef> r = wait( storage->readRange( range, 1 ) );
|
Standalone<RangeResultRef> r = wait( storage->readRange( range, 1 ) );
|
||||||
|
|
Loading…
Reference in New Issue