armnn/armnn-remove_broken_std_move.patch
Guillaume GARDET f0ef77ff1d Accepting request 707891 from home:Guillaume_G:branches:science:machinelearning
- Build and package libarmnnTfLiteParser
- Fix libarmnnQuantizer build with:
  * armnn-fix_quantizer_link.patch
- Add _constraints to avoid OOM errors
- Update to 19.05:
- Changelog: https://github.com/ARM-software/armnn/releases/tag/v19.05
- Remove upstreamed patch:
  * armnn-fix_stb_include.patch
- Rebase patch:
  * armnn-generate-versioned-library.patch
- Update patch:
  * armnn-remove_broken_std_move.patch
- Fix build on Tumbleweed with:
  * armnn-fix_build_with_gcc9.patch
- Fix build on Tumbleweed with:
  * armnn-remove_broken_std_move.patch

OBS-URL: https://build.opensuse.org/request/show/707891
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/armnn?expand=0&rev=4
2019-06-05 16:12:07 +00:00

21 lines
823 B
Diff

--- armnn-19.05.orig/src/armnn/test/CreateWorkload.hpp 2019-06-04 09:12:20.645179117 +0200
+++ armnn-19.05/src/armnn/test/CreateWorkload.hpp 2019-05-28 10:59:44.000000000 +0200
@@ -1092,7 +1092,7 @@ std::unique_ptr<MergerWorkload> CreateMe
auto workloadMerger = MakeAndCheckWorkload<MergerWorkload>(*merger, graph, factory);
BOOST_TEST_CHECKPOINT("created merger workload");
- return std::move(workloadMerger);
+ return workloadMerger;
}
template <typename PreCompiledWorkload, armnn::DataType dataType>
@@ -1250,7 +1250,7 @@ std::unique_ptr<ConstantWorkload> Create
auto workloadConstant = MakeAndCheckWorkload<ConstantWorkload>(*constant, graph, factory);
BOOST_TEST_CHECKPOINT("created Constant workload");
- return std::move(workloadConstant);
+ return workloadConstant;
}
}