aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/MemoryGroup.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2020-02-20 17:09:28 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-02-26 13:35:36 +0000
commit0b192e84510c006d87cee3c29f95511ad088b704 (patch)
tree80abef10e2afde5dcab6715b207ebca4d7dc0755 /arm_compute/runtime/MemoryGroup.h
parent582163206bbfb03b3af0009d6ec2d9bab747780d (diff)
downloadComputeLibrary-0b192e84510c006d87cee3c29f95511ad088b704.tar.gz
COMPMID-3067: Address gcc9 failures
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I048d1d7dda7edf587d37ce83a93b557d8a95754a Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2771 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/MemoryGroup.h')
-rw-r--r--arm_compute/runtime/MemoryGroup.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arm_compute/runtime/MemoryGroup.h b/arm_compute/runtime/MemoryGroup.h
index ba1dbc0a28..4d484954a1 100644
--- a/arm_compute/runtime/MemoryGroup.h
+++ b/arm_compute/runtime/MemoryGroup.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2019 ARM Limited.
+ * Copyright (c) 2017-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -44,9 +44,7 @@ class MemoryGroup final : public IMemoryGroup
{
public:
/** Default Constructor */
- MemoryGroup(IMemoryManager *memory_manager);
- /** Default Constructor */
- MemoryGroup(std::shared_ptr<IMemoryManager> = nullptr);
+ MemoryGroup(std::shared_ptr<IMemoryManager> = nullptr) noexcept;
/** Default destructor */
~MemoryGroup() = default;
/** Prevent instances of this class from being copied (As this class contains pointers) */
@@ -71,8 +69,10 @@ private:
MemoryMappings _mappings; /**< Memory mappings of the group */
};
-inline MemoryGroup::MemoryGroup(std::shared_ptr<IMemoryManager> memory_manager)
- : _memory_manager(memory_manager), _pool(nullptr), _mappings()
+inline MemoryGroup::MemoryGroup(std::shared_ptr<IMemoryManager> memory_manager) noexcept
+ : _memory_manager(memory_manager),
+ _pool(nullptr),
+ _mappings()
{
}