From 8d370f4f5bbb85e2c4dda43eef6546c8ecb2882b Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 7 Nov 2023 10:06:32 -0800 Subject: [PATCH] Remove const from input types of C API PiperOrigin-RevId: 580217902 --- mediapipe/tasks/c/core/base_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/tasks/c/core/base_options.h b/mediapipe/tasks/c/core/base_options.h index bbfd3ef7e..20c068a87 100644 --- a/mediapipe/tasks/c/core/base_options.h +++ b/mediapipe/tasks/c/core/base_options.h @@ -26,7 +26,7 @@ struct BaseOptions { const char* model_asset_buffer; // The size of the model assets buffer (or `0` if not set). - const unsigned int model_asset_buffer_count; + unsigned int model_asset_buffer_count; // The path to the model asset to open and mmap in memory. const char* model_asset_path;