From 984073bf732756872ccca441117a660c3722f1db Mon Sep 17 00:00:00 2001 From: Jiuqiang Tang Date: Thu, 30 Mar 2023 12:03:11 -0700 Subject: [PATCH] Fix the "'<>' with anonymous inner classes is not supported" error. PiperOrigin-RevId: 520705926 --- .../mediapipe/tasks/vision/facestylizer/FaceStylizer.java | 2 +- third_party/halide.BUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/facestylizer/FaceStylizer.java b/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/facestylizer/FaceStylizer.java index cad4c6418..9a52d114d 100644 --- a/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/facestylizer/FaceStylizer.java +++ b/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/facestylizer/FaceStylizer.java @@ -100,7 +100,7 @@ public final class FaceStylizer extends BaseVisionTaskApi { // TODO: Consolidate OutputHandler and TaskRunner. OutputHandler handler = new OutputHandler<>(); handler.setOutputPacketConverter( - new OutputHandler.OutputPacketConverter<>() { + new OutputHandler.OutputPacketConverter() { @Override public FaceStylizerResult convertToTaskResult(List packets) throws MediaPipeException { diff --git a/third_party/halide.BUILD b/third_party/halide.BUILD index 02e701585..677fa9f38 100644 --- a/third_party/halide.BUILD +++ b/third_party/halide.BUILD @@ -43,8 +43,8 @@ cc_library( name = "lib_halide_static", srcs = select({ "@halide//:halide_config_windows_x86_64": [ - "lib/Release/Halide.lib", "bin/Release/Halide.dll", + "lib/Release/Halide.lib", ], "//conditions:default": [ "lib/libHalide.a",