Skip to content

Commit

Permalink
Fix naming clash
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Nov 4, 2023
1 parent b4b39e6 commit 8368716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/src/main/scala/com/comcast/ip4s/Cidr.scala
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ object Cidr {
* This means the address will never have any bits set outside the prefix. For example, a range
* such as 192.168.0.1/31 is not allowed.
*/
final class Strict[+A <: IpAddress] private (prefix: A, prefixBits: Int)
extends Cidr[A](prefix, prefixBits) {
final class Strict[+A <: IpAddress] private (address: A, prefixBits: Int)
extends Cidr[A](address, prefixBits) {
override def normalized: this.type = this
override def prefix = address
}
Expand Down

0 comments on commit 8368716

Please sign in to comment.