File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
libmamba/include/mamba/util Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ namespace mamba::util
519
519
520
520
T m_value{};
521
521
mutable M m_mutex{}; // BEWARE: explicit initializers are required to allow
522
- // synchronized_value instances to be `constinit`
522
+ // synchronized_value instances to be `constinit` with some compilers
523
523
};
524
524
525
525
/* * Locks all the provided `synchronized_value` objects using `.synchronize` and
@@ -546,7 +546,12 @@ namespace mamba::util
546
546
// /////////////////////////////////////////////////////////////////////////////////////////
547
547
548
548
template <std::default_initializable T, Mutex M>
549
- constexpr synchronized_value<T, M>::synchronized_value() noexcept (std::is_nothrow_default_constructible_v<T>) = default ;
549
+ constexpr synchronized_value<T, M>::synchronized_value(
550
+ ) noexcept (std::is_nothrow_default_constructible_v<T>)
551
+ {
552
+ // NOTE: non-defaulted because of homebrew/clang compiler not liking the defaulted version
553
+ // for some reason
554
+ }
550
555
551
556
template <std::default_initializable T, Mutex M>
552
557
synchronized_value<T, M>::synchronized_value(T value) noexcept
You can’t perform that action at this time.
0 commit comments