Merge pull request #20559 from hyarion/refactor/add-limits

Add `#include <limits>` in all files where it is used
This commit is contained in:
Kacper Donat
2025-04-01 17:11:50 +02:00
committed by GitHub
166 changed files with 284 additions and 65 deletions

View File

@@ -24,6 +24,7 @@
#ifndef _PreComp_
# include <cstdlib>
# include <limits>
# include <sstream>
# include <Bnd_Box.hxx>

View File

@@ -24,6 +24,7 @@
#ifndef _PreComp_
# include <iomanip>
# include <limits>
# include <sstream>
#include <Bnd_Box.hxx>

View File

@@ -29,6 +29,7 @@
#include <gp_Dir.hxx>
#include <gp_Pnt.hxx>
#include <gp_Vec.hxx>
#include <limits>
#include <sstream>
#endif

View File

@@ -25,6 +25,7 @@
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <limits>
#include <sstream>
#include <boost_regex.hpp>

View File

@@ -23,6 +23,7 @@
#ifndef DrawUtil_h_
#define DrawUtil_h_
#include <limits>
#include <string>
#include <QByteArray>

View File

@@ -24,6 +24,7 @@
#ifndef _PreComp_
# include <cmath>
# include <limits>
# include <sstream>
# include <Standard_Failure.hxx>
# include <Precision.hxx>

View File

@@ -26,6 +26,7 @@
#include <Precision.hxx>
#include <cstdlib>
#include <cstring>
#include <limits>
#include <sstream>
#endif

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <limits>
#include <sstream>
#include <QLocale>

View File

@@ -71,6 +71,7 @@
#include <gp_Dir.hxx>
#include <gp_Pln.hxx>
#include <gp_Pnt.hxx>
#include <limits>
#include <sstream>
#endif

View File

@@ -29,6 +29,7 @@
#ifndef _PreComp_
# include <cmath>
# include <limits>
# include <sstream>
# include <BRep_Tool.hxx>
# include <BRepBuilderAPI_MakeWire.hxx>

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <limits>
# include <Approx_Curve3d.hxx>
# include <BRep_Tool.hxx>
# include <BRepAdaptor_Curve.hxx>
@@ -36,12 +37,12 @@
# include <BRepLib.hxx>
# include <BRepLProp_CLProps.hxx>
# include <BRepTools.hxx>
#include <BRepLProp_CurveTool.hxx>
# include <BRepLProp_CurveTool.hxx>
# include <GC_MakeArcOfCircle.hxx>
# include <GC_MakeEllipse.hxx>
#include <GC_MakeCircle.hxx>
#include <Geom_TrimmedCurve.hxx>
#include <Geom_Circle.hxx>
# include <GC_MakeCircle.hxx>
# include <Geom_TrimmedCurve.hxx>
# include <Geom_Circle.hxx>
# include <gce_MakeCirc.hxx>
# include <GCPnts_AbscissaPoint.hxx>

View File

@@ -27,6 +27,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <limits>
#include <BRepAlgo_NormalProjection.hxx>
#include <BRepBndLib.hxx>
#include <BRepBuilderAPI_Copy.hxx>