Opened 7 years ago

Last modified 4 years ago

#2547 new enhancement

Implement Lease{4,6}Ptr::operator== that always throws

Reported by: tomek Owned by:
Priority: very low Milestone: Outstanding Tasks
Component: dhcp Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by stephen)

It's a common mistake to compare pointers to leases rather than leases themselves. To easier detect such cases, there should be a comparison operator that always throws.

See ticket:2404#comment:12.

Subtickets

Change History (4)

comment:1 Changed 7 years ago by stephen

  • Description modified (diff)

comment:2 Changed 7 years ago by stephen

  • Milestone changed from DHCP Outstanding Tasks to Sprint-DHCP-20130328

comment:3 Changed 7 years ago by tomek

  • Milestone changed from Sprint-DHCP-20130328 to DHCP Outstanding Tasks

comment:4 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

Note: See TracTickets for help on using tickets.