mirror of https://github.com/mamba-org/mamba.git
juggling with compilers expectations
This commit is contained in:
parent
6e0438335b
commit
a9af67c505
|
@ -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 };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue