Skip to content

Commit

Permalink
Remove misleading AddressRange constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoticgd committed Sep 18, 2024
1 parent 968a907 commit abf86fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ccc/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ struct AddressRange {
Address high;

AddressRange() {}
AddressRange(Address address) : low(address), high(address.value + 1) {}
AddressRange(Address l, Address h) : low(l), high(h) {}

friend auto operator<=>(const AddressRange& lhs, const AddressRange& rhs) = default;
Expand Down

0 comments on commit abf86fa

Please sign in to comment.