From 2bdc778ab6785b84cd42bb3f3be062d715f51009 Mon Sep 17 00:00:00 2001 From: Chip Hogg Date: Thu, 12 May 2022 18:19:20 +0000 Subject: [PATCH] Constrain template --- src/core/include/units/quantity_cast.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/include/units/quantity_cast.h b/src/core/include/units/quantity_cast.h index 8c40a87f..fdb90aef 100644 --- a/src/core/include/units/quantity_cast.h +++ b/src/core/include/units/quantity_cast.h @@ -61,8 +61,8 @@ inline constexpr Magnitude auto quantity_magnitude> = [] { } }(); -template -inline constexpr ratio quantity_ratio = as_ratio(quantity_magnitude); +template +inline constexpr ratio quantity_ratio = as_ratio(quantity_magnitude); template inline constexpr Magnitude auto cast_magnitude = [] {