Skip to content

Commit

Permalink
fix: MSVC build fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Dec 28, 2024
1 parent dd6f29b commit 814f937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/include/mp-units/framework/quantity_spec.h
Original file line number Diff line number Diff line change
Expand Up @@ -1033,8 +1033,8 @@ template<QuantitySpec From, QuantitySpec To>
template<QuantitySpec From, QuantitySpec To>
[[nodiscard]] consteval specs_convertible_result convertible_kinds(From from, To to)
{
constexpr auto from_root = detail::get_kind_tree_root(from);
constexpr auto to_root = detail::get_kind_tree_root(to);
constexpr auto from_root = detail::get_kind_tree_root(From{});
constexpr auto to_root = detail::get_kind_tree_root(To{});
using enum specs_convertible_result;

if constexpr (QuantityKindSpec<From>) {
Expand Down

0 comments on commit 814f937

Please sign in to comment.