Skip to content
Snippets Groups Projects
Commit 187e2e7d authored by Andreas Rauschert's avatar Andreas Rauschert
Browse files

Merge branch 'fix_constexpr' into 'main'

build: remove constexpr for gcc9

See merge request !262
parents fc0e0e51 aee805d4
No related branches found
No related tags found
1 merge request!262build: remove constexpr for gcc9
......@@ -20,7 +20,7 @@ namespace OpenScenarioEngine::v1_3
namespace detail
{
// Normalize angle to [-π, π] range
constexpr units::angle::radian_t NormalizeAngle(units::angle::radian_t angle) noexcept
units::angle::radian_t NormalizeAngle(units::angle::radian_t angle) noexcept
{
constexpr auto pi = units::angle::radian_t{M_PI};
constexpr auto two_pi = 2.0 * pi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment