Skip to content
Snippets Groups Projects
Unverified Commit 1ce554b2 authored by Thorsten Hater's avatar Thorsten Hater Committed by GitHub
Browse files

Add virtual dtors (#2000)

Add missing virtual destructors to some classes. Removes warnings and ensures correct behaviour.
parent 6880b7c4
No related branches found
No related tags found
No related merge requests found
......@@ -65,24 +65,28 @@ struct ARB_ARBOR_API has_gap_junctions {
virtual std::vector<gap_junction_connection> gap_junctions_on(cell_gid_type) const {
return {};
}
virtual ~has_gap_junctions() {}
};
struct ARB_ARBOR_API has_synapses {
virtual std::vector<cell_connection> connections_on(cell_gid_type) const {
return {};
}
virtual ~has_synapses() {}
};
struct ARB_ARBOR_API has_probes {
virtual std::vector<probe_info> get_probes(cell_gid_type gid) const {
return {};
}
virtual ~has_probes() {}
};
struct ARB_ARBOR_API has_generators {
virtual std::vector<event_generator> event_generators(cell_gid_type) const {
return {};
}
virtual ~has_generators() {}
};
// Toppings allow updating a simulation
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment