From 010b96610730b5028c42faa633d067ebb411a744 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Wed, 1 Jul 2020 19:31:11 +0930 Subject: move remove_input_object() into object superclass --- Gate.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Gate.h') diff --git a/Gate.h b/Gate.h index ab6b238..c8cd492 100644 --- a/Gate.h +++ b/Gate.h @@ -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; -- cgit v1.2.3