mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-06 05:34:27 +02:00
refactor: unused reference
operator removed
This commit is contained in:
@@ -55,12 +55,6 @@ struct reference {
|
|||||||
|
|
||||||
// Reference
|
// Reference
|
||||||
|
|
||||||
template<Magnitude M, Reference R>
|
|
||||||
[[nodiscard]] consteval reference<R::quantity_spec, M{} * R::unit> operator*(M, R)
|
|
||||||
{
|
|
||||||
return {};
|
|
||||||
}
|
|
||||||
|
|
||||||
template<Reference R1, Reference R2>
|
template<Reference R1, Reference R2>
|
||||||
[[nodiscard]] consteval reference<R1::quantity_spec * R2::quantity_spec, R1::unit * R2::unit> operator*(R1, R2)
|
[[nodiscard]] consteval reference<R1::quantity_spec * R2::quantity_spec, R1::unit * R2::unit> operator*(R1, R2)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user