From a91676ef3db020d358da64a9fe3ef26a2a3f75d0 Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Tue, 9 Aug 2022 12:55:32 +0200 Subject: [PATCH] [VecOps] Add missing #include to RVec.hxx The file uses std::numeric_limits, defined in . That header is transitively included in most configurations, but for example not when building with a recent libstdc++ (with less transitive includes) and configuring with cxx14 and without VDT. (cherry picked from commit d2e56f982e303d83784f28e1524bc24c39b350c4) --- math/vecops/inc/ROOT/RVec.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/math/vecops/inc/ROOT/RVec.hxx b/math/vecops/inc/ROOT/RVec.hxx index 73ff520f3318f..4ca36391769a9 100644 --- a/math/vecops/inc/ROOT/RVec.hxx +++ b/math/vecops/inc/ROOT/RVec.hxx @@ -38,6 +38,7 @@ #include #include #include +#include // for numeric_limits #include #include // for inner_product #include