From 10b24929b4f8e0c44f2220f9fc441c49c1b60c29 Mon Sep 17 00:00:00 2001 From: Xiuchuan Zhai Date: Mon, 25 Nov 2024 05:12:56 -0500 Subject: [PATCH] fix a ci warning --- .../src/transformations/cpu_opset/x64/pass/mlp_fuse_convert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fuse_convert.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fuse_convert.cpp index 741cdb788e3f21..536e8a618a5244 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fuse_convert.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fuse_convert.cpp @@ -21,7 +21,7 @@ intel_cpu::MLPFuseConvert::MLPFuseConvert() { auto mlp = wrap_type(); auto convert = wrap_type({mlp}, type_matches(ov::element::f32)); - matcher_pass_callback callback = [OV_CAPTURE_CPY_AND_THIS](pass::pattern::Matcher& m) { + matcher_pass_callback callback = [=](pass::pattern::Matcher& m) { auto& pattern_map = m.get_pattern_value_map(); const auto& m_mlp = pattern_map.at(mlp).get_node_shared_ptr(); const auto& m_cvt = pattern_map.at(convert).get_node_shared_ptr();