src: Small improvements
Change-Id: I9850cd6ec2330482915f815d94a2ac2ccaeae7f1
diff --git a/tools/network.hpp b/tools/network.hpp
index 3c200aa..044b915 100644
--- a/tools/network.hpp
+++ b/tools/network.hpp
@@ -110,7 +110,7 @@
if (address.is_v4())
{
- ip::address_v4::bytes_type maskBytes = {};
+ ip::address_v4::bytes_type maskBytes = boost::initialized_value;
for (size_t i = 0; i < mask; i++)
{
size_t byteId = i / 8;
@@ -133,7 +133,7 @@
}
else
{
- ip::address_v6::bytes_type maskBytes = {};
+ ip::address_v6::bytes_type maskBytes = boost::initialized_value;
for (size_t i = 0; i < mask; i++)
{
size_t byteId = i / 8;