Skip to content

Commit

Permalink
use regular constructor args
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnhoekstra committed Oct 20, 2023
1 parent 297034d commit 83000eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 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,7 @@ 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 (override val prefix: A, override val prefixBits: Int)
extends Cidr[A](prefix, prefixBits) {
final class Strict[+A <: IpAddress] private (override val prefix: A, prefixBits: Int) extends Cidr[A](prefix, prefixBits) {
override def normalized: this.type = this
}

Expand Down

0 comments on commit 83000eb

Please sign in to comment.