]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trackcircuit.h
Add a virtual get_block function to Sensor
[r2c2.git] / source / libr2c2 / trackcircuit.h
index 64e7462788f0da2ab43adfa1d8fb86098524ceda..19c11c7e40991f293dc145d40c8a1a5494f3d77c 100644 (file)
@@ -15,7 +15,7 @@ private:
 public:
        TrackCircuit(Layout &, Block &);
 
-       Block &get_block() const { return block; }
+       virtual Block *get_block() const { return █ }
 };
 
 } // namespace R2C2