]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/train.h
Reserve enough blocks for the entire train when placing
[r2c2.git] / source / libr2c2 / train.h
index 3aaf6b14137cf8401489c39918fbba135107a011..340537a89a401242fd08cabb2c004459892ec36e 100644 (file)
@@ -112,7 +112,7 @@ public:
                return 0;
        }
 
-       void place(const BlockIter &);
+       bool place(const BlockIter &);
        void unplace();
        bool is_placed() const { return !allocator.empty(); }
        void stop_at(Block *);