diff --git a/src/systems/include/mp-units/systems/hep/hep.h b/src/systems/include/mp-units/systems/hep/hep.h index ac7a192e8..637fc27fc 100644 --- a/src/systems/include/mp-units/systems/hep/hep.h +++ b/src/systems/include/mp-units/systems/hep/hep.h @@ -22,8 +22,7 @@ #pragma once -#include -#include +#include #include template<> @@ -53,6 +52,8 @@ inline constexpr struct speed_of_light : decltype(si::si2019::speed_of_light_in_ namespace unit_symbols { +using si::unit_symbols::eV; + inline constexpr auto qeV = si::quecto; inline constexpr auto reV = si::ronto; inline constexpr auto yeV = si::yocto; @@ -65,7 +66,6 @@ inline constexpr auto ueV = si::micro; inline constexpr auto meV = si::milli; inline constexpr auto ceV = si::centi; inline constexpr auto deV = si::deci; -inline constexpr auto eV = electronvolt; inline constexpr auto daeV = si::deca; inline constexpr auto heV = si::hecto; inline constexpr auto keV = si::kilo; diff --git a/test/static/iau_test.cpp b/test/static/iau_test.cpp index 547385380..32ccf3c8b 100644 --- a/test/static/iau_test.cpp +++ b/test/static/iau_test.cpp @@ -25,7 +25,8 @@ import mp_units; #else #include #include -#include +#include +#include #endif /* ************** DERIVED DIMENSIONS THAT INCLUDE UNITS WITH SPECIAL NAMES **************** */