Skip to content

Commit 09a097e

Browse files
committed
suppress warnings on slicing
1 parent 5ccaef9 commit 09a097e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/dev/snapshots.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static std::unique_ptr<SnapshotBundleFactory> bundle_factory() {
232232
}
233233

234234
void count_bodies(const SnapSettings& settings, int repetitions) {
235-
SnapshotRepository snapshot_repo{SnapshotSettings{settings}, bundle_factory()};
235+
SnapshotRepository snapshot_repo{settings, bundle_factory()}; // NOLINT(cppcoreguidelines-slicing)
236236
snapshot_repo.reopen_folder();
237237
std::chrono::time_point start{std::chrono::steady_clock::now()};
238238
int num_bodies{0};

0 commit comments

Comments
 (0)