aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/utils/logging/LogMsgDecorators.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/utils/logging/LogMsgDecorators.h')
-rw-r--r--arm_compute/core/utils/logging/LogMsgDecorators.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arm_compute/core/utils/logging/LogMsgDecorators.h b/arm_compute/core/utils/logging/LogMsgDecorators.h
index 03a2d41f12..7c5b58b633 100644
--- a/arm_compute/core/utils/logging/LogMsgDecorators.h
+++ b/arm_compute/core/utils/logging/LogMsgDecorators.h
@@ -24,6 +24,7 @@
#ifndef __ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H__
#define __ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H__
+#include "arm_compute/core/Error.h"
#include "arm_compute/core/utils/logging/Helpers.h"
#include "arm_compute/core/utils/logging/Types.h"
@@ -120,6 +121,8 @@ public:
{
#ifndef NO_MULTI_THREADING
log_msg.raw_ += angle_wrap_value(std::this_thread::get_id());
+#else /* NO_MULTI_THREADING */
+ ARM_COMPUTE_UNUSED(log_msg);
#endif /* NO_MULTI_THREADING */
}
};