From cd27535ca048a671fc6d2e5fdc9c0727b065c097 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 6 Mar 2012 22:35:01 +0100 Subject: QtNetwork: make some constructors explicit This is a semi-automatic search, so I'm reasonably sure that all the exported ones have been caught. Change-Id: Ia00eb9194a5f64002bd7e7b894abf6333d1b825e Reviewed-by: Jonas Gastal Reviewed-by: Shane Kearns --- src/network/kernel/qhostinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/kernel/qhostinfo.h') diff --git a/src/network/kernel/qhostinfo.h b/src/network/kernel/qhostinfo.h index df377872c8..2fc87f3bdc 100644 --- a/src/network/kernel/qhostinfo.h +++ b/src/network/kernel/qhostinfo.h @@ -63,7 +63,7 @@ public: UnknownError }; - QHostInfo(int lookupId = -1); + explicit QHostInfo(int lookupId = -1); QHostInfo(const QHostInfo &d); QHostInfo &operator=(const QHostInfo &d); ~QHostInfo(); -- cgit v1.2.3