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

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

View File

@@ -22,6 +22,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <limits>
#include <BRepAdaptor_Curve.hxx>
#include <BRep_Tool.hxx>
#include <TopExp.hxx>

View File

@@ -41,6 +41,7 @@
#include <cassert>
#include <cmath>
#include <iostream>
#include <limits>
#include <sstream>
// STL

View File

@@ -24,6 +24,7 @@
#ifndef _PreComp_
# include <cmath>
# include <limits>
# include <QApplication>
# include <QGraphicsRectItem>

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <cmath>
# include <limits>
# include <QMessageBox>
#endif // #ifndef _PreComp_

View File

@@ -24,6 +24,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <limits>
#include <boost/signals2.hpp>
#include <boost/signals2/connection.hpp>
#endif

View File

@@ -24,6 +24,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <limits>
#include <QApplication>
#include <QLabel>
#include <QObject>
@@ -40,8 +41,6 @@
#include <Mod/TechDraw/TechDrawGlobal.h>
#include <limits>
#include <Base/Console.h>
#include <Base/UnitsApi.h>