Skip to content

Commit

Permalink
fix: have_same_canonical_reference_unit declaration fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Jun 6, 2024
1 parent 452c601 commit e515114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/include/mp-units/framework/unit_concepts.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ concept UnitOf =

namespace detail {

[[nodiscard]] consteval auto have_same_canonical_reference_unit(Unit auto u1, Unit auto u2);
template<Unit U1, Unit U2>
[[nodiscard]] consteval auto have_same_canonical_reference_unit(U1 u1, U2 u2);

}

Expand Down

0 comments on commit e515114

Please sign in to comment.