fix(kernel): style warnings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
73c8bf4436
commit
5da501d538
2 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
|
||||
Author: Leonardo de Moura
|
||||
*/
|
||||
#include <utility>
|
||||
#include "kernel/for_each_fn.h"
|
||||
|
||||
namespace lean {
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace lean {
|
|||
*/
|
||||
class for_each_fn {
|
||||
std::unique_ptr<expr_cell_offset_set> m_visited;
|
||||
std::function<bool(expr const &, unsigned)> m_f;
|
||||
std::function<bool(expr const &, unsigned)> m_f; // NOLINT
|
||||
void apply(expr const & e, unsigned offset);
|
||||
public:
|
||||
template<typename F> for_each_fn(F && f):m_f(f) {}
|
||||
|
|
Loading…
Reference in a new issue