Skip to content

Commit f3d75e1

Browse files
committed
Suppress unused lambda capture warning.
1 parent 3e5bd6b commit f3d75e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/storm-cli-utilities/model-handling.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,7 @@ void verifyModel(std::shared_ptr<storm::models::sparse::Model<ValueType>> const&
12961296
auto verificationCallback = [&sparseModel, &ioSettings, &mpi](std::shared_ptr<storm::logic::Formula const> const& formula,
12971297
std::shared_ptr<storm::logic::Formula const> const& states) {
12981298
auto createTask = [&ioSettings](auto const& f, bool onlyInitialStates) {
1299+
(void)ioSettings; // suppress unused lambda capture warning. [[maybe_unused]] doesn't work for lambda captures.
12991300
if constexpr (storm::IsIntervalType<ValueType>) {
13001301
STORM_LOG_THROW(ioSettings.isUncertaintyResolutionModeSet(), storm::exceptions::InvalidSettingsException,
13011302
"Uncertainty resolution mode required for uncertain (interval) models.");

0 commit comments

Comments
 (0)