mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[3253] Removed clutter
modified: monitored_duration_store.h
This commit is contained in:
@@ -55,33 +55,6 @@ typedef boost::multi_index_container<
|
|||||||
boost::multi_index::tag<DurationKeyTag>,
|
boost::multi_index::tag<DurationKeyTag>,
|
||||||
boost::multi_index::identity<DurationKey>
|
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;
|
> MonitoredDurationContainer;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user