Skip to content

Commit 61198fe

Browse files
committed
fix small merge regression
1 parent afc69a6 commit 61198fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/include/mp-units/bits/sudo_cast.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ template<QuantityPoint ToQP, typename FwdFromQP, QuantityPoint FromQP = std::rem
157157
{
158158
constexpr Magnitude auto c_mag = get_canonical_unit(FromQP::unit).mag / get_canonical_unit(ToQP::unit).mag;
159159
using type_traits = conversion_type_traits<c_mag, typename FromQP::rep, typename ToQP::rep>;
160-
using c_rep_type = type_traits::c_rep_typ;
160+
using c_rep_type = type_traits::c_rep_type;
161161
using multiplier_type = typename type_traits::multiplier_type;
162162
using value_traits = conversion_value_traits<c_mag, multiplier_type>;
163163

src/core/include/mp-units/framework/quantity_point.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class quantity_point {
228228
constexpr quantity_point(FwdQ&& q, PO2) :
229229
quantity_point(
230230
quantity_point<std::remove_reference_t<Q>::reference, PO2{}, typename std::remove_reference_t<Q>::rep>{
231-
std::forward<Q>(q), PO2{}})
231+
std::forward<FwdQ>(q), PO2{}})
232232
{
233233
}
234234

0 commit comments

Comments
 (0)