Commit 72453e35 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't use nullptr as flag value

parent c0883b98
......@@ -52,7 +52,7 @@ namespace KSysGuard
mProcesses.insert(-1, &mFakeProcess);
mElapsedTimeMilliSeconds = 0;
mHavePreviousIoValues = false;
mUpdateFlags = nullptr;
mUpdateFlags = {};
mUsingHistoricalData = false;
q = q_ptr;
}
......
......@@ -84,7 +84,7 @@ namespace KSysGuard
* For example, if you update every 2000ms, set this to 2000. That way it won't update
* more often than needed.
*/
void updateAllProcesses(long updateDurationMS = 0, Processes::UpdateFlags updateFlags = nullptr);
void updateAllProcesses(long updateDurationMS = 0, Processes::UpdateFlags updateFlags = {});
/**
* Return information for one specific process. Call getProcess(0) to get the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment