[mlir][test] Remove unused lambda capture 'this' in UtilsTest.cpp (NFC)
authorJie Fu <jiefu@tencent.com>
Thu, 27 Apr 2023 10:45:14 +0000 (18:45 +0800)
committerJie Fu <jiefu@tencent.com>
Thu, 27 Apr 2023 10:45:14 +0000 (18:45 +0800)
commit6d2c293bb22be9ec7bc7c10e947374f2d81501be
tree67f898ade54b08b8b00064092ffc9b5067bffb88
parentf8a9c55bef380a592c4588025f8b6ca4dfc94c47
[mlir][test] Remove unused lambda capture 'this' in UtilsTest.cpp (NFC)

/data/llvm-project/mlir/unittests/Analysis/Presburger/UtilsTest.cpp:39:17: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
  auto merge = [this](unsigned i, unsigned j) -> bool { return true; };
                ^~~~
/data/llvm-project/mlir/unittests/Analysis/Presburger/UtilsTest.cpp:52:17: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
  auto merge = [this](unsigned i, unsigned j) -> bool { return true; };
                ^~~~
2 errors generated.
mlir/unittests/Analysis/Presburger/UtilsTest.cpp