mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
(clang-tidy) : modernize-use-nullptr
This commit is contained in:
@@ -273,7 +273,7 @@ void RicFileHierarchyDialog::clearFileList()
|
||||
void RicFileHierarchyDialog::updateStatus(Status status, bool force)
|
||||
{
|
||||
static time_t lastStatusUpdate = 0;
|
||||
time_t now = time(0);
|
||||
time_t now = time(nullptr);
|
||||
|
||||
// If less than one second since last update, then return
|
||||
if (!force && now == lastStatusUpdate) return;
|
||||
|
||||
Reference in New Issue
Block a user