Skip to content

Commit

Permalink
refactor: unused SameReference concept removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Nov 24, 2024
1 parent b83008c commit 57dbe4a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/core/include/mp-units/framework/reference_concepts.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,4 @@ concept ReferenceOf = Reference<T> && QuantitySpecOf<decltype(get_quantity_spec(

MP_UNITS_EXPORT_END

namespace detail {

template<auto R1, auto R2>
concept SameReference =
Reference<MP_UNITS_REMOVE_CONST(decltype(R1))> && Reference<MP_UNITS_REMOVE_CONST(decltype(R2))> && (R1 == R2);

} // namespace detail

} // namespace mp_units

0 comments on commit 57dbe4a

Please sign in to comment.