diff options
Diffstat (limited to 'src/library/scalax/collection/generic/SetFactory.scala')
-rw-r--r-- | src/library/scalax/collection/generic/SetFactory.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/scalax/collection/generic/SetFactory.scala b/src/library/scalax/collection/generic/SetFactory.scala index 0fbcf68466..458d4bbade 100644 --- a/src/library/scalax/collection/generic/SetFactory.scala +++ b/src/library/scalax/collection/generic/SetFactory.scala @@ -6,4 +6,6 @@ trait SetFactory[CC[A] <: SetTemplate[CC, A] with Set[A]] extends IterableFactor def apply[A](elems: A*): CC[A] = empty[A] ++ elems.asInstanceOf[Iterable[A]] // !@! + override def newBuilder[B]: Builder[CC, B] = new AddableBuilder[CC, B](empty) + } |