mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3944 clang-tidy : Apply modernize-deprecated-headers
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
Checks: '-*,modernize-use-nullptr,modernize-use-override'
|
||||
Checks: '-*,modernize-use-nullptr,modernize-use-override,modernize-deprecated-headers'
|
||||
HeaderFilterRegex: ''
|
||||
AnalyzeTemporaryDtors: false
|
||||
...
|
||||
|
@@ -48,7 +48,7 @@
|
||||
#include <QToolTip>
|
||||
|
||||
#include <vector>
|
||||
#include <time.h>
|
||||
#include <ctime>
|
||||
#include <thread>
|
||||
|
||||
#define DEFAULT_DIALOG_WIDTH 750
|
||||
|
@@ -57,7 +57,7 @@
|
||||
#include <cvfAssert.h>
|
||||
|
||||
#include <vector>
|
||||
#include <time.h>
|
||||
#include <ctime>
|
||||
#include <thread>
|
||||
|
||||
#define DEFAULT_DIALOG_WIDTH 550
|
||||
|
@@ -38,7 +38,7 @@
|
||||
#include <QFileInfo>
|
||||
#include <QDebug>
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include "RifEclipseSummaryTools.h"
|
||||
|
||||
#include <string>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QString>
|
||||
|
@@ -31,7 +31,7 @@
|
||||
#include "cafProgressInfo.h"
|
||||
|
||||
#include <string>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QString>
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include "cvfPrimitiveSetIndexedUInt.h"
|
||||
#include "cvfScalarMapper.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "RivGeoMechPartMgr.h"
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include "RivGeoMechPartMgr.h"
|
||||
#include "cvfPart.h"
|
||||
#include "cvfModelBasicList.h"
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
|
@@ -57,7 +57,7 @@
|
||||
#include <QMessageBox>
|
||||
#include <QString>
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
CAF_PDM_XML_ABSTRACT_SOURCE_INIT(RimFracture, "Fracture");
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include "RimEclipseStatisticsCase.h"
|
||||
|
||||
#include <vector>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
class RimEclipseCase;
|
||||
|
@@ -100,7 +100,7 @@
|
||||
|
||||
#include <QMessageBox>
|
||||
|
||||
#include <limits.h>
|
||||
#include <climits>
|
||||
|
||||
|
||||
|
||||
|
@@ -42,7 +42,7 @@
|
||||
|
||||
#include <QKeyEvent>
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#define RI_LOGPLOT_MINDEPTH_DEFAULT 0.0
|
||||
#define RI_LOGPLOT_MAXDEPTH_DEFAULT 1000.0
|
||||
|
@@ -43,7 +43,7 @@
|
||||
#include <QDateTime>
|
||||
|
||||
#include <algorithm>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@@ -18,7 +18,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
|
||||
class RimCellRangeFilter;
|
||||
class RigMainGrid;
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include "cvfPlane.h"
|
||||
#include "cvfRay.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
static size_t undefinedCornersArray[8] = {cvf::UNDEFINED_SIZE_T,
|
||||
cvf::UNDEFINED_SIZE_T,
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include "RigStatisticsMath.h"
|
||||
#include "RigWeightedMeanCalc.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@@ -17,7 +17,7 @@
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "RigFlowDiagResultFrames.h"
|
||||
|
||||
|
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "RimEclipseResultCase.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "RimEclipseResultCase.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@@ -27,9 +27,9 @@
|
||||
#include "RigSimWellData.h"
|
||||
|
||||
/* rand example: guess the number */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <ctime>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@@ -34,7 +34,7 @@
|
||||
#include "RimEclipseResultDefinition.h"
|
||||
#include "RimFlowDiagSolution.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include "RigEclipseCaseData.h"
|
||||
#include "RigResultModifier.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@@ -41,7 +41,7 @@
|
||||
#endif
|
||||
#include <QtNetwork>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#include "cvfStructGrid.h"
|
||||
|
||||
#include <vector>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <array>
|
||||
// #include "RivWellPathSourceInfo.h"
|
||||
// #include "RivWellPipeSourceInfo.h"
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include "qwt_plot_curve.h"
|
||||
#include "qwt_date_scale_draw.h"
|
||||
|
||||
#include <float.h> // For DBL_MAX
|
||||
#include <cfloat> // For DBL_MAX
|
||||
|
||||
#include <QEvent>
|
||||
|
||||
|
@@ -54,7 +54,7 @@
|
||||
|
||||
#include <cafDisplayCoordTransform.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
|
||||
|
||||
|
@@ -63,7 +63,7 @@
|
||||
#include "RiuRimQwtPlotCurve.h"
|
||||
#include "RimSummaryCurve.h"
|
||||
|
||||
#include <float.h>
|
||||
#include <cfloat>
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@@ -38,7 +38,7 @@
|
||||
#include <QMdiSubWindow>
|
||||
#include <QMenu>
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@@ -44,7 +44,7 @@
|
||||
#include <QScrollBar>
|
||||
#include <QTimer>
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@@ -45,7 +45,7 @@
|
||||
#include <QScrollArea>
|
||||
#include <QWheelEvent>
|
||||
|
||||
#include <float.h>
|
||||
#include <cfloat>
|
||||
#include "RiuSummaryQwtPlot.h"
|
||||
|
||||
#define RIU_SCROLLWHEEL_ZOOMFACTOR 1.1
|
||||
|
Reference in New Issue
Block a user