mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 20:04:27 +02:00
fix: clang-16 compilation fixed
This commit is contained in:
@@ -408,7 +408,7 @@ template<template<typename...> typename To, typename OneType, template<typename,
|
||||
*/
|
||||
template<template<typename...> typename To, typename OneType, template<typename, typename> typename Pred, typename Lhs,
|
||||
typename Rhs>
|
||||
[[nodiscard]] consteval auto expr_divide(Lhs lhs, Rhs rhs)
|
||||
[[nodiscard]] MP_UNITS_CONSTEVAL auto expr_divide(Lhs lhs, Rhs rhs)
|
||||
{
|
||||
if constexpr (is_same_v<Lhs, Rhs>) {
|
||||
return OneType{};
|
||||
|
Reference in New Issue
Block a user