aboutsummaryrefslogtreecommitdiff
path: root/utils/Utils.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2020-11-21 03:04:18 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-12-01 10:41:54 +0000
commit40f51a63c8e7258db15269427ae4fe1ad199c550 (patch)
tree353253a41863966995a45556731e7181a643c003 /utils/Utils.h
parent327800401c4185d98fcc01b9c9efbc038a4228ed (diff)
downloadComputeLibrary-40f51a63c8e7258db15269427ae4fe1ad199c550.tar.gz
Update default C++ standard to C++14
(3RDPARTY_UPDATE) Resolves: COMPMID-3849 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I6369f112337310140e2d6c8e79630cd11138dfa0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4544 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils/Utils.h')
-rw-r--r--utils/Utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/Utils.h b/utils/Utils.h
index e44d978b24..b10d18aca2 100644
--- a/utils/Utils.h
+++ b/utils/Utils.h
@@ -38,7 +38,6 @@
#pragma GCC diagnostic ignored "-Wstrict-overflow"
#include "libnpy/npy.hpp"
#pragma GCC diagnostic pop
-#include "support/MemorySupport.h"
#include "support/StringSupport.h"
#ifdef ARM_COMPUTE_CL
@@ -54,6 +53,7 @@
#include <cstring>
#include <fstream>
#include <iostream>
+#include <memory>
#include <random>
#include <string>
#include <tuple>
@@ -110,7 +110,7 @@ int run_example(int argc, char **argv, std::unique_ptr<Example> example);
template <typename T>
int run_example(int argc, char **argv)
{
- return run_example(argc, argv, support::cpp14::make_unique<T>());
+ return run_example(argc, argv, std::make_unique<T>());
}
/** Draw a RGB rectangular window for the detected object