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 --- utils/ImageLoader.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'utils/ImageLoader.h') diff --git a/utils/ImageLoader.h b/utils/ImageLoader.h index 2dbb6f9421..5abcb7a60f 100644 --- a/utils/ImageLoader.h +++ b/utils/ImageLoader.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 Arm Limited. + * Copyright (c) 2018-2020 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -392,7 +392,7 @@ public: ARM_COMPUTE_ERROR_ON_MSG_VAR(max_val >= 256, "2 bytes per colour channel not supported in file %s", filename.c_str()); - _feeder = support::cpp14::make_unique(_fs); + _feeder = std::make_unique(_fs); } catch(std::runtime_error &e) { @@ -467,7 +467,7 @@ public: _height = height; _data = std::unique_ptr(rgb_image); _is_loaded = true; - _feeder = support::cpp14::make_unique(_data.get()); + _feeder = std::make_unique(_data.get()); } } void close() override @@ -512,9 +512,9 @@ public: switch(type) { case ImageType::PPM: - return support::cpp14::make_unique(); + return std::make_unique(); case ImageType::JPEG: - return support::cpp14::make_unique(); + return std::make_unique(); case ImageType::UNKNOWN: default: return nullptr; -- cgit v1.2.1