Shuffle member initialization in constructor.
This commit is contained in:
parent
b3fd4f62a7
commit
a34a009bf0
|
@ -764,10 +764,8 @@ class SharedLogsKey {
|
|||
KeyValueStoreType storeType;
|
||||
|
||||
public:
|
||||
SharedLogsKey( const TLogOptions& options, KeyValueStoreType kvst ) {
|
||||
logVersion = options.version;
|
||||
spillType = options.spillType;
|
||||
storeType = kvst;
|
||||
SharedLogsKey( const TLogOptions& options, KeyValueStoreType kvst )
|
||||
: logVersion(options.version), spillType(options.spillType), storeType(kvst) {
|
||||
if (logVersion >= TLogVersion::V5)
|
||||
spillType = TLogSpillType::UNSET;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue