From f8529c573eff1d5144b3fa362628b3ab16a1eb93 Mon Sep 17 00:00:00 2001 From: hobbycao Date: Thu, 15 Sep 2022 21:27:41 +0800 Subject: [PATCH] fix: virtual function modify Signed-off-by: hobbycao --- interfaces/inner_api/native/camera/include/input/camera_input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/inner_api/native/camera/include/input/camera_input.h b/interfaces/inner_api/native/camera/include/input/camera_input.h index 63395ae..825857c 100644 --- a/interfaces/inner_api/native/camera/include/input/camera_input.h +++ b/interfaces/inner_api/native/camera/include/input/camera_input.h @@ -41,7 +41,7 @@ class ErrorCallback { public: ErrorCallback() = default; virtual ~ErrorCallback() = default; - virtual void OnError(const int32_t errorType, const int32_t errorMsg) const; + virtual void OnError(const int32_t errorType, const int32_t errorMsg) const = 0; }; class ExposureCallback {