Skip to content

Commit c6b89aa

Browse files
committed
juggling with compilers expectations
1 parent 7596166 commit c6b89aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libmamba/include/mamba/core/logging.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ namespace mamba
7171
}
7272

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

0 commit comments

Comments
 (0)