mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 12:24:26 +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,
|
template<template<typename...> typename To, typename OneType, template<typename, typename> typename Pred, typename Lhs,
|
||||||
typename Rhs>
|
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>) {
|
if constexpr (is_same_v<Lhs, Rhs>) {
|
||||||
return OneType{};
|
return OneType{};
|
||||||
|
Reference in New Issue
Block a user