diff options
author | Daniel Jones <admin@danieljon.es> | 2020-07-01 19:31:11 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-07-01 19:31:11 +0930 |
commit | 010b96610730b5028c42faa633d067ebb411a744 (patch) | |
tree | b18659d0e83128d636078daa7df28867783cdefa /Gate.h | |
parent | ec91ec4eede7ea2a2a42261a3b0d8d0eb7b2397b (diff) | |
download | foxlogicgates-010b96610730b5028c42faa633d067ebb411a744.tar.gz foxlogicgates-010b96610730b5028c42faa633d067ebb411a744.zip |
move remove_input_object() into object superclass
Diffstat (limited to 'Gate.h')
-rw-r--r-- | Gate.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -46,12 +46,11 @@ class Gate : public Object Gate *get_input_gate2() { return this->input_gate2; }; void set_input_gate1(Gate *gate) { this->input_gate1 = gate; }; void set_input_gate2(Gate *gate) { this->input_gate2 = gate; }; - void remove_input_gate(int id); + void remove_input_object(int id) override; void update_state() override; std::string get_object_name() override { return get_output_type_text(); }; - private: GATE_TYPE gate_type; |