mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-25 17:16:33 -05:00
Use constructor initialization lists where possible.
This commit is contained in:
parent
4152e93bb7
commit
308d3ad84b
9 changed files with 31 additions and 38 deletions
|
|
@ -20,10 +20,9 @@
|
|||
#include "core/Tools.h"
|
||||
|
||||
TimeInfo::TimeInfo()
|
||||
: m_expires(false)
|
||||
, m_usageCount(0)
|
||||
{
|
||||
m_expires = false;
|
||||
m_usageCount = 0;
|
||||
|
||||
QDateTime now = Tools::currentDateTimeUtc();
|
||||
m_lastModificationTime = now;
|
||||
m_creationTime = now;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue