diff options
author | Philipp Haller <hallerp@gmail.com> | 2009-09-24 12:16:17 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2009-09-24 12:16:17 +0000 |
commit | babad68e867fdb0c80f877c3b2c3f0c8ce46b84f (patch) | |
tree | e15049cbc329d36982ea63f4e377ad267d6dfe71 /docs/examples | |
parent | 6cfd03986f97f48a2e9c4a8222ee2284548de80a (diff) | |
download | scala-babad68e867fdb0c80f877c3b2c3f0c8ce46b84f.tar.gz scala-babad68e867fdb0c80f877c3b2c3f0c8ce46b84f.tar.bz2 scala-babad68e867fdb0c80f877c3b2c3f0c8ce46b84f.zip |
Fixed boundedbuffer actor example (new arrays).
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/actors/boundedbuffer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/actors/boundedbuffer.scala b/docs/examples/actors/boundedbuffer.scala index d4ab9715c1..c65bb7719c 100644 --- a/docs/examples/actors/boundedbuffer.scala +++ b/docs/examples/actors/boundedbuffer.scala @@ -3,7 +3,7 @@ package examples.actors import scala.actors.Actor._ object boundedbuffer { - class BoundedBuffer[T](N: Int) { + class BoundedBuffer[T](N: Int)(implicit m: Manifest[T]) { private case class Put(x: T) private case object Get private case object Stop |