aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/utils/Object.h5
-rw-r--r--src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/common/utils/Object.h b/src/common/utils/Object.h
index 6f56f77d3c..1f194737d4 100644
--- a/src/common/utils/Object.h
+++ b/src/common/utils/Object.h
@@ -52,8 +52,9 @@ struct Header
* @param[in] type_ Object identification type
* @param[in] ctx_ Context to reference
*/
- Header(ObjectType type_, IContext *ctx_)
- : type(type_), ctx(ctx_)
+ Header(ObjectType type_, IContext *ctx_) noexcept
+ : type(type_),
+ ctx(ctx_)
{
}
diff --git a/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp b/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
index e2db6b48cd..59747a82f9 100644
--- a/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
+++ b/src/runtime/NEON/functions/NEGEMMConvolutionLayer.cpp
@@ -52,7 +52,7 @@ namespace arm_compute
using namespace arm_compute::misc::shape_calculator;
NEConvolutionLayerReshapeWeights::~NEConvolutionLayerReshapeWeights() = default;
-NEConvolutionLayerReshapeWeights::NEConvolutionLayerReshapeWeights()
+NEConvolutionLayerReshapeWeights::NEConvolutionLayerReshapeWeights() noexcept
: _weights_reshape_kernel()
{
}