Add missing override annotations

Issue #3159
This commit is contained in:
Norman Feske
2019-02-14 22:39:08 +01:00
parent 1f47e2823a
commit b3727a9b46
259 changed files with 747 additions and 743 deletions

View File

@ -195,12 +195,12 @@ class Genode::Avl_tree : Avl_node<NT>
*/
class Policy : public Avl_node_base::Policy
{
bool higher(Avl_node_base *n1, Avl_node_base *n2) const
bool higher(Avl_node_base *n1, Avl_node_base *n2) const override
{
return static_cast<NT *>(n1)->higher(static_cast<NT *>(n2));
}
void recompute(Avl_node_base *node)
void recompute(Avl_node_base *node) override
{
static_cast<NT *>(node)->recompute();
}