mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix several deprecation warnings (#8657)
* Use constructor instead of nullptr for WindowFlags * Use constructor instead of nullptr for Alignment * Disable deprecation warning for QProcess * Add string split method to RaTextStringTools * Add caf.cpp used to manage Qt function deprecations * Use position()
This commit is contained in:
@@ -18,8 +18,10 @@
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "QDateTime"
|
||||
#include "QDebug"
|
||||
#include <QDateTime>
|
||||
#include <QDebug>
|
||||
#include <QElapsedTimer>
|
||||
|
||||
#include "RigHexIntersectionTools.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -74,12 +76,12 @@ TEST( RigHexIntersectionTools, DISABLED_planeHexCellIntersectionPerformanceTest
|
||||
fracturePlaneNotIntersecting.setFromPointAndNormal( cvf::Vec3d( 1.5, 1.5, 1.5 ), cvf::Vec3d( 1, 0, 0 ) );
|
||||
fracturePlaneIntersecting.setFromPointAndNormal( cvf::Vec3d( 0.5, 0.5, 0.5 ), cvf::Vec3d( 1, 0, 0 ) );
|
||||
|
||||
QTime timeTotal;
|
||||
QElapsedTimer timeTotal;
|
||||
timeTotal.start();
|
||||
|
||||
for ( int run = 0; run < 5; run++ )
|
||||
{
|
||||
QTime timeLocal;
|
||||
QElapsedTimer timeLocal;
|
||||
timeLocal.start();
|
||||
|
||||
for ( int i = 0; i < 2000000; i++ )
|
||||
|
||||
Reference in New Issue
Block a user