Salome HOME
spns #32926: backport KERNEL & CONFIGURATION fixes on more recent platforms to ensure...
[tools/sat_salome.git] / products / patches / root-6.22-string_view.UB22.patch
1 --- root-6.22.02_ref/core/foundation/inc/ROOT/libcpp_string_view.h      2020-08-17 14:41:56.000000000 +0200
2 +++ root-6.22.02_new/core/foundation/inc/ROOT/libcpp_string_view.h      2022-08-25 13:55:38.224944519 +0200
3 @@ -10,7 +10,6 @@
4  
5  #ifndef _LIBCPP_LFTS_STRING_VIEW
6  #define _LIBCPP_LFTS_STRING_VIEW
7 -
8  #ifndef RWrap_libcpp_string_view_h
9  #error "Do not use libcpp_string_view.h directly. #include \"RWrap_libcpp_string_view.h\" instead."
10  #endif // RWrap_libcpp_string_view_h
11 @@ -186,6 +185,7 @@
12  #include <ostream>
13  #include <iomanip>
14  #include <stdexcept>
15 +#include <limits>
16  
17  //#include <__debug>
18