From 3916b29e53f852aa1499aa6170cfc2bb44708281 Mon Sep 17 00:00:00 2001 From: Chip Hogg Date: Wed, 15 Jun 2022 21:34:45 +0000 Subject: [PATCH] Move known_first_factor specialization outside namespace --- src/systems/si-hep/include/units/isq/si/hep/momentum.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/systems/si-hep/include/units/isq/si/hep/momentum.h b/src/systems/si-hep/include/units/isq/si/hep/momentum.h index 9b53b4c2..c6791501 100644 --- a/src/systems/si-hep/include/units/isq/si/hep/momentum.h +++ b/src/systems/si-hep/include/units/isq/si/hep/momentum.h @@ -32,13 +32,12 @@ #include #include -namespace units::isq::si::hep { - - // Necessary to factor `5'344'285'992'678`, which appears in the value for eV/c. template<> inline constexpr std::optional units::known_first_factor<296'904'777'371> = 157'667; +namespace units::isq::si::hep { + struct kilogram_metre_per_second : derived_unit {}; struct eV_per_c :