From cc4e69c1469a472072972d04b85610e5cf9df820 Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Thu, 6 Oct 2011 08:04:26 -0300 Subject: [PATCH] Removing commented code --- src/config/option/hostpingintervaloption.cpp | 4 ---- src/config/option/hostpingprotocoloption.cpp | 4 ---- src/config/option/hostportoption.cpp | 4 ---- 3 files changed, 0 insertions(+), 12 deletions(-) diff --git a/src/config/option/hostpingintervaloption.cpp b/src/config/option/hostpingintervaloption.cpp index 4530fca..3972f72 100644 --- a/src/config/option/hostpingintervaloption.cpp +++ b/src/config/option/hostpingintervaloption.cpp @@ -94,10 +94,6 @@ bool HostPingIntervalOption::parse( set_hosts_count( hosts_intervals_count ); - // TODO receive the host_down_limit by parameter, use a std::map to find this configuration inside the Options container - // TODO BOOST_ASSERT( hosts_names_count >= static_cast( host_down_limit ) ); -// BOOST_ASSERT( hosts_names_count == host_port_count ); -// BOOST_ASSERT( hosts_names_count == host_ping_protocol_count ); BOOST_ASSERT( hosts_count == hosts_intervals_count ); return parsed_success; diff --git a/src/config/option/hostpingprotocoloption.cpp b/src/config/option/hostpingprotocoloption.cpp index a73ccdc..fd5987a 100644 --- a/src/config/option/hostpingprotocoloption.cpp +++ b/src/config/option/hostpingprotocoloption.cpp @@ -95,11 +95,7 @@ bool HostPingProtocolOption::parse( set_hosts_count( hosts_protocols_count ); - // TODO receive the host_down_limit by parameter, use a std::map to find this configuration inside the Options container - // TODO BOOST_ASSERT( hosts_names_count >= static_cast( host_down_limit ) ); -// BOOST_ASSERT( hosts_names_count == host_port_count ); BOOST_ASSERT( hosts_count == hosts_protocols_count ); -// BOOST_ASSERT( hosts_names_count == hosts_interval_count ); return parsed_success; } diff --git a/src/config/option/hostportoption.cpp b/src/config/option/hostportoption.cpp index dd48f0d..29b58bd 100644 --- a/src/config/option/hostportoption.cpp +++ b/src/config/option/hostportoption.cpp @@ -94,11 +94,7 @@ bool HostPortOption::parse( set_hosts_count( hosts_ports_count ); - // TODO receive the host_down_limit by parameter, use a std::map to find this configuration inside the Options container - // TODO BOOST_ASSERT( hosts_names_count >= static_cast( host_down_limit ) ); BOOST_ASSERT( hosts_count == hosts_ports_count ); -// BOOST_ASSERT( hosts_names_count == host_ping_protocol_count ); -// BOOST_ASSERT( hosts_names_count == hosts_interval_count ); return parsed_success; } -- 1.7.1