mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(clang-tidy) : modernize-use-nullptr
This commit is contained in:
@@ -298,7 +298,7 @@ bool RigReservoirBuilderMock::inputProperty(RigEclipseCaseData* eclipseCase, con
|
||||
size_t k;
|
||||
|
||||
/* initialize random seed: */
|
||||
srand ( time(NULL) );
|
||||
srand ( time(nullptr) );
|
||||
|
||||
/* generate secret number: */
|
||||
int iSecret = rand() % 20 + 1;
|
||||
|
||||
Reference in New Issue
Block a user