We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ccaef9 commit 09a097eCopy full SHA for 09a097e
cmd/dev/snapshots.cpp
@@ -232,7 +232,7 @@ static std::unique_ptr<SnapshotBundleFactory> bundle_factory() {
232
}
233
234
void count_bodies(const SnapSettings& settings, int repetitions) {
235
- SnapshotRepository snapshot_repo{SnapshotSettings{settings}, bundle_factory()};
+ SnapshotRepository snapshot_repo{settings, bundle_factory()}; // NOLINT(cppcoreguidelines-slicing)
236
snapshot_repo.reopen_folder();
237
std::chrono::time_point start{std::chrono::steady_clock::now()};
238
int num_bodies{0};
0 commit comments