diff options
author | Per Åstrand <per.astrand@arm.com> | 2020-09-25 15:07:35 +0200 |
---|---|---|
committer | Per Åstrand <per.astrand@arm.com> | 2020-09-25 15:07:35 +0200 |
commit | bbd9c8fcfdda36fa69a6b65f95efdb242cbff30a (patch) | |
tree | e06d3b350062fcea2dabcb23426f0d0c9c12e12d /applications/message_process/src/message_process.cc | |
parent | 91a91738c0d7f4128edd5f2806b6b5292a698608 (diff) | |
download | ethos-u-core-software-bbd9c8fcfdda36fa69a6b65f95efdb242cbff30a.tar.gz |
Avoid shadowing class members when initializing
Change-Id: I47eae5334d2cfa5c6e17f820095dbadebce9a1e8
Diffstat (limited to 'applications/message_process/src/message_process.cc')
-rw-r--r-- | applications/message_process/src/message_process.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |