]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3253] Removed clutter
authorThomas Markwalder <tmark@isc.org>
Mon, 26 Feb 2024 20:37:07 +0000 (15:37 -0500)
committerThomas Markwalder <tmark@isc.org>
Mon, 18 Mar 2024 19:12:14 +0000 (19:12 +0000)
modified:   monitored_duration_store.h

src/hooks/dhcp/perfmon/monitored_duration_store.h

index 8ab6c828ee133f8c2186c7e9e40734ea623750ad..d4866d5b002cb0580ee125e9f3d7974ee55c7e2b 100644 (file)
@@ -55,33 +55,6 @@ typedef boost::multi_index_container<
             boost::multi_index::tag<DurationKeyTag>,
             boost::multi_index::identity<DurationKey>
         >
-        /// @todo more indexes start here...
-#if 0
-        /// @todo toss this ... did this before I figured out how to use
-        /// DurationKey::operator<
-        ,
-        boost::multi_index::ordered_unique<
-            boost::multi_index::tag<KeyTag>,
-            boost::multi_index::composite_key<
-                MonitoredDuration,
-                // The query packet type
-                boost::multi_index::const_mem_fun<DurationKey, uint8_t,
-                                                  &DurationKey::getQueryType>,
-                // The response packet type
-                boost::multi_index::const_mem_fun<DurationKey, uint8_t,
-                                                  &DurationKey::getResponseType>,
-                // The start event label
-                boost::multi_index::const_mem_fun<DurationKey, std::string,
-                                                  &DurationKey::getStartEventLabel>,
-                // The end event label
-                boost::multi_index::const_mem_fun<DurationKey, std::string,
-                                                  &DurationKey::getEndEventLabel>,
-                // The subnet id
-                boost::multi_index::const_mem_fun<DurationKey, dhcp::SubnetID,
-                                                  &DurationKey::getSubnetId>
-            >
-        >
-#endif
     >
 > MonitoredDurationContainer;