From 8b7d027aecbea0848c2f4cc8eaf3925933848746 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Fri, 15 Feb 2008 19:14:35 +0100 Subject: [PATCH] fix bug 137: Make Ipv4Address (uint32_t) constructor explicit. patch by Gustavo. --- src/node/ipv4-address.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/ipv4-address.h b/src/node/ipv4-address.h index 2f41421af..b3fb352ae 100644 --- a/src/node/ipv4-address.h +++ b/src/node/ipv4-address.h @@ -40,7 +40,7 @@ public: * input address is in host order. * \param address The host order 32-bit address */ - Ipv4Address (uint32_t address); + explicit Ipv4Address (uint32_t address); /** * \brief Constructs an Ipv4Address by parsing a the input C-string *