summaryrefslogtreecommitdiff
path: root/src/library/scalax/collection/Vector.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scalax/collection/Vector.scala')
-rwxr-xr-xsrc/library/scalax/collection/Vector.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/library/scalax/collection/Vector.scala b/src/library/scalax/collection/Vector.scala
index d36c980df2..8224a8630b 100755
--- a/src/library/scalax/collection/Vector.scala
+++ b/src/library/scalax/collection/Vector.scala
@@ -12,10 +12,11 @@ package scalax.collection
import generic._
import mutable.ArrayBuffer
+import annotation.unchecked.uncheckedVariance
-trait Vector[+A] extends Sequence[A] with covariant.VectorTemplate[Vector, A]
+trait Vector[+A] extends Sequence[A] with VectorTemplate[Vector, A @uncheckedVariance]
-object Vector extends covariant.SequenceFactory[Vector] {
+object Vector extends SequenceFactory[Vector] with EmptyIterableFactory[Vector] {
/** The empty sequence */
val empty : Vector[Nothing] = null // !!! todo: insert good immutable vector implementation here.