--- 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 CreateMe auto workloadMerger = MakeAndCheckWorkload(*merger, graph, factory); BOOST_TEST_CHECKPOINT("created merger workload"); - return std::move(workloadMerger); + return workloadMerger; } template @@ -1250,7 +1250,7 @@ std::unique_ptr Create auto workloadConstant = MakeAndCheckWorkload(*constant, graph, factory); BOOST_TEST_CHECKPOINT("created Constant workload"); - return std::move(workloadConstant); + return workloadConstant; } }