Skip to content

Commit

Permalink
Added public initializer to TargetContainer.
Browse files Browse the repository at this point in the history
  • Loading branch information
BradLarson committed May 6, 2016
1 parent 6c5e80d commit d601ed1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/Source/Pipeline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ public class TargetContainer:SequenceType {
var targets = [WeakImageConsumer]()
var count:Int { get {return targets.count}}

public init() {
}

public func append(target:ImageConsumer, indexAtTarget:UInt) {
// TODO: Don't allow the addition of a target more than once
targets.append(WeakImageConsumer(value:target, indexAtTarget:indexAtTarget))
Expand Down

0 comments on commit d601ed1

Please sign in to comment.