Also try initializing _distro_series earlier

main
Simon Quigley 3 days ago
parent d1f6765222
commit fcc3e41e6b

@ -27,6 +27,7 @@ source_package_publishing_history::source_package_publishing_history()
self_link(""), self_link(""),
distro_series_link(""), distro_series_link(""),
lp(nullptr), lp(nullptr),
_distro_series(nullptr),
distro_series([this]() -> std::optional<::distro_series> { distro_series([this]() -> std::optional<::distro_series> {
if (distro_series_link.empty()) return std::nullopt; if (distro_series_link.empty()) return std::nullopt;
if (_distro_series) return _distro_series; if (_distro_series) return _distro_series;

Loading…
Cancel
Save