fix(kernel/environment): relax normalizer_extesion interface

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-04-28 14:01:44 -07:00
parent f320277248
commit 1b9e2efb0c
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ namespace lean {
*/ */
class noop_normalizer_extension : public normalizer_extension { class noop_normalizer_extension : public normalizer_extension {
public: public:
virtual optional<expr> operator()(expr const &, extension_context const &) const { virtual optional<expr> operator()(expr const &, extension_context &) const {
return none_expr(); return none_expr();
} }
}; };

View file

@ -31,7 +31,7 @@ class certified_definition;
class normalizer_extension { class normalizer_extension {
public: public:
virtual ~normalizer_extension() {} virtual ~normalizer_extension() {}
virtual optional<expr> operator()(expr const & e, extension_context const & ctx) const = 0; virtual optional<expr> operator()(expr const & e, extension_context & ctx) const = 0;
}; };
/** /**