juggling with compilers expectations

This commit is contained in:
Klaim (Joël Lamotte) 2025-07-18 15:04:08 +02:00 committed by Joël Lamotte (Klaim)
parent 6e0438335b
commit a9af67c505
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ namespace mamba
}
/// @returns All `log_source` values as a range.
inline constexpr auto all_log_sources() noexcept -> std::initializer_list<log_source>
// FIXME: should be constexpr but some compilers dont implement vector's constexpr destructor yet
inline auto all_log_sources() noexcept -> std::vector<log_source>
{
return { log_source::libmamba, log_source::libcurl, log_source::libsolv };
}