From 1fac61ef8e5cc3318fd8385a1cb6edfebb5abef9 Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Mon, 14 Mar 2011 13:44:52 +0100 Subject: [PATCH] Explicit constructor to avoid implicit constructor-conversions-calls --- src/dns/dnsresolver.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/dns/dnsresolver.h b/src/dns/dnsresolver.h index 656e07b..88743f3 100644 --- a/src/dns/dnsresolver.h +++ b/src/dns/dnsresolver.h @@ -13,7 +13,7 @@ class HostAddress; class DnsResolver { public: - DnsResolver( std::string dns_address ); + explicit DnsResolver( std::string dns_address ); virtual ~DnsResolver(); std::string get_next_ip(); -- 1.7.1