Fix minor typo (triggered a GCC warning, NFC)

--

PiperOrigin-RevId: 241618796
This commit is contained in:
Mehdi Amini 2019-04-02 15:41:22 -07:00 committed by Mehdi Amini
parent 736bef7386
commit e01cccf34a
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ private:
/// a plain walk over operations to match flat patterns but the current
/// implementation is competitive nonetheless.
using FilterFunctionType = std::function<bool(Operation &)>;
static bool defaultFilterFunction(Operation &) { return true; };
static bool defaultFilterFunction(Operation &) { return true; }
struct NestedPattern {
NestedPattern(ArrayRef<NestedPattern> nested,
FilterFunctionType filter = defaultFilterFunction);