From bbd9c8fcfdda36fa69a6b65f95efdb242cbff30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=85strand?= Date: Fri, 25 Sep 2020 15:07:35 +0200 Subject: Avoid shadowing class members when initializing Change-Id: I47eae5334d2cfa5c6e17f820095dbadebce9a1e8 --- applications/message_process/src/message_process.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'applications/message_process') diff --git a/applications/message_process/src/message_process.cc b/applications/message_process/src/message_process.cc index db8b446..1be6958 100644 --- a/applications/message_process/src/message_process.cc +++ b/applications/message_process/src/message_process.cc @@ -28,7 +28,7 @@ using namespace InferenceProcess; namespace MessageProcess { -QueueImpl::QueueImpl(ethosu_core_queue &queue) : queue(queue) {} +QueueImpl::QueueImpl(ethosu_core_queue &_queue) : queue(_queue) {} bool QueueImpl::empty() const { return queue.header.read == queue.header.write; @@ -116,9 +116,9 @@ bool QueueImpl::write(const uint32_t type, const void *src, uint32_t length) { MessageProcess::MessageProcess(ethosu_core_queue &in, ethosu_core_queue &out, - ::InferenceProcess::InferenceProcess &inferenceProcess) : + ::InferenceProcess::InferenceProcess &_inferenceProcess) : queueIn(in), - queueOut(out), inferenceProcess(inferenceProcess) {} + queueOut(out), inferenceProcess(_inferenceProcess) {} void MessageProcess::run() { while (true) { -- cgit v1.2.1