0017-tflite_support-fix-Wdefaulted-function-deleted-warni.patch 1.1 KB

123456789101112131415161718192021222324252627
  1. From 4c33dc502337c034101ef554284964f1fe6f3174 Mon Sep 17 00:00:00 2001
  2. From: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  3. Date: Thu, 4 Aug 2022 08:31:48 +0800
  4. Subject: [PATCH 17/68] tflite_support: fix -Wdefaulted-function-deleted
  5. warning
  6. Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  7. ---
  8. .../src/tensorflow_lite_support/cc/task/processor/processor.h | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/third_party/tflite_support/src/tensorflow_lite_support/cc/task/processor/processor.h b/third_party/tflite_support/src/tensorflow_lite_support/cc/task/processor/processor.h
  11. index b3c43605ac82..219239f6c2bd 100644
  12. --- a/third_party/tflite_support/src/tensorflow_lite_support/cc/task/processor/processor.h
  13. +++ b/third_party/tflite_support/src/tensorflow_lite_support/cc/task/processor/processor.h
  14. @@ -34,7 +34,7 @@ namespace processor {
  15. // Shares the common logics to handle tflite_engine and metadata.
  16. class Processor {
  17. public:
  18. - Processor() = default;
  19. + // Processor() = default;
  20. virtual ~Processor() = default;
  21. // Processor is neither copyable nor movable.
  22. --
  23. 2.30.2