Skip to content

Commit

Permalink
More fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Apr 4, 2017
1 parent f18c6dd commit 3526245
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/formula/callable_fwd.hpp
Expand Up @@ -24,7 +24,7 @@ class formula_callable;
class formula_debugger;

struct callable_die_subscriber {
virtual void notify_dead() const {}
virtual void notify_dead() {}
};

using formula_callable_ptr = std::shared_ptr<formula_callable>;
Expand Down
2 changes: 1 addition & 1 deletion src/formula/variant_value.hpp
Expand Up @@ -298,7 +298,7 @@ class variant_callable : public variant_value_base, private callable_die_subscri
}

private:
void notify_dead() {callable_.reset();}
void notify_dead() override {callable_.reset();}

const_formula_callable_ptr callable_;
};
Expand Down

0 comments on commit 3526245

Please sign in to comment.