Remove QNetworkAccessCache::Node's explicit ctor
Change-Id: I2a993bcf96a0c603496e8a420251a7e01f46acee Reviewed-by: Markus Goetz (Woboq GmbH) <markus@woboq.com>bb10
parent
c2a2522089
commit
e94f75fc50
|
|
@ -68,15 +68,11 @@ struct QNetworkAccessCache::Node
|
|||
QDeadlineTimer timer;
|
||||
QByteArray key;
|
||||
|
||||
Node *previous; // "previous" nodes expire "previous"ly (before us)
|
||||
Node *next; // "next" nodes expire "next" (after us)
|
||||
CacheableObject *object;
|
||||
Node *previous = nullptr; // "previous" nodes expire "previous"ly (before us)
|
||||
Node *next = nullptr; // "next" nodes expire "next" (after us)
|
||||
CacheableObject *object = nullptr;
|
||||
|
||||
int useCount;
|
||||
|
||||
Node()
|
||||
: previous(nullptr), next(nullptr), object(nullptr), useCount(0)
|
||||
{ }
|
||||
int useCount = 0;
|
||||
};
|
||||
|
||||
QNetworkAccessCache::CacheableObject::CacheableObject()
|
||||
|
|
|
|||
Loading…
Reference in New Issue