From 511e4d7397e552040b10c38286e12e6a10edf85b Mon Sep 17 00:00:00 2001 From: "zhaode.wzd" Date: Mon, 4 Dec 2023 20:20:16 +0800 Subject: [PATCH] [MNN::Bugfix] Bugfix of Backend::onResizeEnd compile. --- source/core/Backend.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/core/Backend.hpp b/source/core/Backend.hpp index 0bf115992..e2b79eefd 100644 --- a/source/core/Backend.hpp +++ b/source/core/Backend.hpp @@ -115,9 +115,7 @@ class Backend : public NonCopyable { /** * @brief callback after resize ops. */ - virtual ErrorCode onResizeEnd() { - return MNN::NO_ERROR; - } + virtual ErrorCode onResizeEnd() = 0; /** * @brief callback before executing ops.