fix: workaround for template argument deduction for MSVC

This commit is contained in:
Mateusz Pusz
2023-03-30 17:45:03 +02:00
parent 245783e89a
commit be195a294c

View File

@@ -84,7 +84,7 @@ public:
uncertainty_type uncertainty; uncertainty_type uncertainty;
}; };
#if UNITS_COMP_CLANG && UNITS_COMP_CLANG <= 16 #if UNITS_COMP_MSVC || (UNITS_COMP_CLANG && UNITS_COMP_CLANG <= 16)
template<QuantityOrQuantityPoint QQP, units::Quantity U> template<QuantityOrQuantityPoint QQP, units::Quantity U>
estimation(state<QQP>, U) -> estimation<QQP>; estimation(state<QQP>, U) -> estimation<QQP>;