diff --git a/src/source_package_publishing_history.cpp b/src/source_package_publishing_history.cpp index aa53827..d666679 100644 --- a/src/source_package_publishing_history.cpp +++ b/src/source_package_publishing_history.cpp @@ -27,7 +27,7 @@ source_package_publishing_history::source_package_publishing_history() self_link(""), distro_series_link(""), lp(nullptr), - _distro_series(nullptr), + _distro_series(std::nullopt), distro_series([this]() -> std::optional<::distro_series> { if (distro_series_link.empty()) return std::nullopt; if (_distro_series) return _distro_series;