diff options
author | Daniel Jones <admin@danieljon.es> | 2020-07-07 11:13:11 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-07-07 11:13:11 +0930 |
commit | 848e32a6983cd2d61e3c1e9a489ca6563536099f (patch) | |
tree | 5bb734dce7da0c30fd538ee49d19ced5c76ae091 /Object.h | |
parent | 32f7cf863c1b430872c3b7ae4be49fbedede63ad (diff) | |
download | foxlogicgates-848e32a6983cd2d61e3c1e9a489ca6563536099f.tar.gz foxlogicgates-848e32a6983cd2d61e3c1e9a489ca6563536099f.zip |
make update_state pure virtual, use Object instead of gate
Diffstat (limited to 'Object.h')
-rw-r--r-- | Object.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ class Object void add_output_object_id(int id_) { this->output_object_ids.push_back(id_); }; - virtual void update_state() {}; // subclasses must implement + virtual void update_state() = 0; // subclasses must implement static void set_object_id_counter(int id_) { object_id_counter = id_; }; static int get_object_id_counter() { return object_id_counter; }; |