]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/blockallocator.h
Simplify some interfaces by using track and block iterators
[r2c2.git] / source / libr2c2 / blockallocator.h
index 3ef3fa047796e2cceaaef10fb92dfd76558ab53b..7ff5d77f2cf538b4effc9fa4c40826b9a8cb956d 100644 (file)
@@ -40,7 +40,7 @@ private:
 public:
        BlockAllocator(Train &);
 
-       void start_from(Block &, unsigned);
+       void start_from(const BlockIter &);
        void clear();
        bool empty() const { return blocks.empty(); }
        void stop_at(const Block *);