diff --git a/src/kernel/for_each_fn.cpp b/src/kernel/for_each_fn.cpp index 6b35e04b1..0e4e156e9 100644 --- a/src/kernel/for_each_fn.cpp +++ b/src/kernel/for_each_fn.cpp @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ +#include #include "kernel/for_each_fn.h" namespace lean { diff --git a/src/kernel/for_each_fn.h b/src/kernel/for_each_fn.h index 67c774072..82103c50d 100644 --- a/src/kernel/for_each_fn.h +++ b/src/kernel/for_each_fn.h @@ -26,7 +26,7 @@ namespace lean { */ class for_each_fn { std::unique_ptr m_visited; - std::function m_f; + std::function m_f; // NOLINT void apply(expr const & e, unsigned offset); public: template for_each_fn(F && f):m_f(f) {}