fix: a workaround for compilation error on MSVC and gcc-10 added
This commit is contained in:
1 parent
1bee3439d3
commit
99283dce1c
8 files changed
+25
-12
No files matched your search
@@ -94,7 +94,7 @@ template<Dimension D, UnitOf<D> U>
|
||||
struct reference {
|
||||
using dimension = D;
|
||||
using unit = U;
|
||||
static constexpr UNITS_MSVC_WORKAROUND(Magnitude) auto mag = dimension::mag * unit::mag;
|
||||
static constexpr UNITS_CONSTRAINED_AUTO_WORKAROUND(Magnitude) auto mag = dimension::mag * unit::mag;
|
||||
|
||||
// Hidden Friends
|
||||
// Below friend functions are to be found via argument-dependent lookup only
|
||||
|
||||
Reference in new issue
Block a user