From 95fd332e439b4632aefc326e920351e7e70a4cc5 Mon Sep 17 00:00:00 2001 From: Raphael Grimm <raphael.grimm@kit.edu> Date: Fri, 7 Dec 2018 19:53:31 +0100 Subject: [PATCH] Run clang tidy modernize-avoid-bind modernize-deprecated-headers modernize-redundant-void-arg modernize-replace-auto-ptr --- .../RobotAPI/components/EarlyVisionGraph/GraphLookupTable.cpp | 2 +- source/RobotAPI/components/EarlyVisionGraph/IntensityGraph.cpp | 2 +- source/RobotAPI/components/EarlyVisionGraph/MathTools.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/RobotAPI/components/EarlyVisionGraph/GraphLookupTable.cpp b/source/RobotAPI/components/EarlyVisionGraph/GraphLookupTable.cpp index 8c12ae412..c74c87aef 100644 --- a/source/RobotAPI/components/EarlyVisionGraph/GraphLookupTable.cpp +++ b/source/RobotAPI/components/EarlyVisionGraph/GraphLookupTable.cpp @@ -12,7 +12,7 @@ // ***************************************************************** #include "GraphLookupTable.h" #include "MathTools.h" -#include <float.h> +#include <cfloat> // ***************************************************************** // implementation of CGraphLookupTable diff --git a/source/RobotAPI/components/EarlyVisionGraph/IntensityGraph.cpp b/source/RobotAPI/components/EarlyVisionGraph/IntensityGraph.cpp index 0e07832ea..9291eea26 100644 --- a/source/RobotAPI/components/EarlyVisionGraph/IntensityGraph.cpp +++ b/source/RobotAPI/components/EarlyVisionGraph/IntensityGraph.cpp @@ -15,7 +15,7 @@ //#include "MathTools.h" //#include "Base/DataStructures/Graph/GraphProcessor.h" -#include <float.h> +#include <cfloat> #include <fstream> // ***************************************************************** diff --git a/source/RobotAPI/components/EarlyVisionGraph/MathTools.cpp b/source/RobotAPI/components/EarlyVisionGraph/MathTools.cpp index 6fe849d71..202c397c4 100644 --- a/source/RobotAPI/components/EarlyVisionGraph/MathTools.cpp +++ b/source/RobotAPI/components/EarlyVisionGraph/MathTools.cpp @@ -11,7 +11,7 @@ // includes // ***************************************************************** #include "MathTools.h" -#include <math.h> +#include <cmath> //#include "Base/Tools/DebugMemory.h" -- GitLab