summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qhsts_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/access/qhsts_p.h b/src/network/access/qhsts_p.h
index 0bc0a5d975..f3d5da9d23 100644
--- a/src/network/access/qhsts_p.h
+++ b/src/network/access/qhsts_p.h
@@ -85,8 +85,7 @@ private:
struct DomainLabel
{
- DomainLabel() = default;
- DomainLabel(const QString &name) : label(name) { }
+ DomainLabel(const QString &name = QString()) : label(name), domainIndex(0) {}
bool operator < (const DomainLabel &rhs) const
{ return label < rhs.label; }