Skip to content

Commit

Permalink
trivial: Be more precise in returning std::nullopt
Browse files Browse the repository at this point in the history
  • Loading branch information
RAOF committed Jul 12, 2024
1 parent e380660 commit f3a0b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/graphics/drm_formats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ auto mg::DRMFormat::info() const -> std::optional<Info const>
mir::log_warning("Detailed info for format %s missing; please report so this can be added", name());
unknown_formats->insert(fourcc);
}
return {};
return std::nullopt;
}

mg::DRMFormat::operator uint32_t() const
Expand Down

0 comments on commit f3a0b27

Please sign in to comment.