Skip to content

Commit d2e56f9

Browse files
authored
[VecOps] Add missing #include <limits> to RVec.hxx (root-project#11152)
The file uses std::numeric_limits, defined in <limits>. 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.
1 parent 340d809 commit d2e56f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

math/vecops/inc/ROOT/RVec.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <algorithm>
3939
#include <cmath>
4040
#include <cstring>
41+
#include <limits> // for numeric_limits
4142
#include <new>
4243
#include <numeric> // for inner_product
4344
#include <sstream>

0 commit comments

Comments
 (0)