diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-11-21 03:04:18 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-12-01 10:41:54 +0000 |
commit | 40f51a63c8e7258db15269427ae4fe1ad199c550 (patch) | |
tree | 353253a41863966995a45556731e7181a643c003 /utils/command_line | |
parent | 327800401c4185d98fcc01b9c9efbc038a4228ed (diff) | |
download | ComputeLibrary-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/command_line')
-rw-r--r-- | utils/command_line/CommandLineParser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/command_line/CommandLineParser.h b/utils/command_line/CommandLineParser.h index 5881723da8..e8fabc4251 100644 --- a/utils/command_line/CommandLineParser.h +++ b/utils/command_line/CommandLineParser.h @@ -26,11 +26,11 @@ #include "Option.h" #include "arm_compute/core/utils/misc/Utility.h" -#include "support/MemorySupport.h" #include <iostream> #include <map> #include <memory> +#include <memory> #include <regex> #include <string> #include <utility> @@ -102,14 +102,14 @@ private: template <typename T, typename... As> inline T *CommandLineParser::add_option(const std::string &name, As &&... args) { - auto result = _options.emplace(name, support::cpp14::make_unique<T>(name, std::forward<As>(args)...)); + auto result = _options.emplace(name, std::make_unique<T>(name, std::forward<As>(args)...)); return static_cast<T *>(result.first->second.get()); } template <typename T, typename... As> inline T *CommandLineParser::add_positional_option(As &&... args) { - _positional_options.emplace_back(support::cpp14::make_unique<T>(std::forward<As>(args)...)); + _positional_options.emplace_back(std::make_unique<T>(std::forward<As>(args)...)); return static_cast<T *>(_positional_options.back().get()); } |