From 24b1fb8ec9666419790e0f2dc04bb503f6b29ec5 Mon Sep 17 00:00:00 2001 From: Martijn Date: Fri, 20 Oct 2023 22:15:03 +0200 Subject: [PATCH] use regular constructor args --- shared/src/main/scala/com/comcast/ip4s/Cidr.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/main/scala/com/comcast/ip4s/Cidr.scala b/shared/src/main/scala/com/comcast/ip4s/Cidr.scala index fb2cf19..367d637 100644 --- a/shared/src/main/scala/com/comcast/ip4s/Cidr.scala +++ b/shared/src/main/scala/com/comcast/ip4s/Cidr.scala @@ -138,7 +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) + final class Strict[+A <: IpAddress] private (override val prefix: A, prefixBits: Int) extends Cidr[A](prefix, prefixBits) { override def normalized: this.type = this }