From 40f51a63c8e7258db15269427ae4fe1ad199c550 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Sat, 21 Nov 2020 03:04:18 +0000 Subject: Update default C++ standard to C++14 (3RDPARTY_UPDATE) Resolves: COMPMID-3849 Signed-off-by: Georgios Pinitas Change-Id: I6369f112337310140e2d6c8e79630cd11138dfa0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4544 Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins --- tests/main.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'tests/main.cpp') diff --git a/tests/main.cpp b/tests/main.cpp index f0d5df7d84..46a081b6c8 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -21,7 +21,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#include "support/MemorySupport.h" #include "support/StringSupport.h" #include "tests/AssetsLibrary.h" #include "tests/framework/DatasetModes.h" @@ -166,20 +165,20 @@ int main(int argc, char **argv) Scheduler::get().set_num_threads(threads->value()); // Create CPU context - auto cpu_ctx = support::cpp14::make_unique(); + auto cpu_ctx = std::make_unique(); cpu_ctx->set_scheduler(&Scheduler::get()); // Track CPU context - auto cpu_ctx_track = support::cpp14::make_unique(cpu_ctx.get()); + auto cpu_ctx_track = std::make_unique(cpu_ctx.get()); // Create parameters - parameters = support::cpp14::make_unique(); + parameters = std::make_unique(); parameters->set_cpu_ctx(std::move(cpu_ctx)); #ifdef ARM_COMPUTE_GC // Setup OpenGL context { - auto gles_ctx = support::cpp14::make_unique(); + auto gles_ctx = std::make_unique(); ARM_COMPUTE_ERROR_ON(gles_ctx == nullptr); { // Legacy singletons API: This has been deprecated and the singletons will be removed @@ -312,8 +311,8 @@ int main(int argc, char **argv) return 0; } - library = support::cpp14::make_unique(assets->value(), seed->value()); - fixed_library = support::cpp14::make_unique(assets->value(), fixed_seed); + library = std::make_unique(assets->value(), seed->value()); + fixed_library = std::make_unique(assets->value(), fixed_seed); if(!parser.validate()) { -- cgit v1.2.1