mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Use default member initializers in OCC::SyncJournalErrorBlacklistRecord
This allows to remove its explicit default constructor definition. Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
This commit is contained in:
parent
3015ea5715
commit
04a24c14a8
1 changed files with 5 additions and 14 deletions
|
@ -81,31 +81,22 @@ public:
|
|||
InsufficientRemoteStorage
|
||||
};
|
||||
|
||||
SyncJournalErrorBlacklistRecord()
|
||||
: _retryCount(0)
|
||||
, _errorCategory(Category::Normal)
|
||||
, _lastTryModtime(0)
|
||||
, _lastTryTime(0)
|
||||
, _ignoreDuration(0)
|
||||
{
|
||||
}
|
||||
|
||||
/// The number of times the operation was unsuccessful so far.
|
||||
int _retryCount;
|
||||
int _retryCount = 0;
|
||||
|
||||
/// The last error string.
|
||||
QString _errorString;
|
||||
/// The error category. Sometimes used for special actions.
|
||||
Category _errorCategory;
|
||||
Category _errorCategory = Category::Normal;
|
||||
|
||||
qint64 _lastTryModtime;
|
||||
qint64 _lastTryModtime = 0;
|
||||
QByteArray _lastTryEtag;
|
||||
|
||||
/// The last time the operation was attempted (in s since epoch).
|
||||
qint64 _lastTryTime;
|
||||
qint64 _lastTryTime = 0;
|
||||
|
||||
/// The number of seconds the file shall be ignored.
|
||||
qint64 _ignoreDuration;
|
||||
qint64 _ignoreDuration = 0;
|
||||
|
||||
QString _file;
|
||||
QString _renameTarget;
|
||||
|
|
Loading…
Reference in a new issue