From 5da501d538cbb4504c31dc1d0b402aae6b703fa8 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Mon, 17 Feb 2014 17:06:33 -0800 Subject: [PATCH] fix(kernel): style warnings Signed-off-by: Leonardo de Moura --- src/kernel/for_each_fn.cpp | 1 + src/kernel/for_each_fn.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) {}