[coverity] fix coverity issue
authorEunju Yang <ej.yang@samsung.com>
Thu, 21 Mar 2024 07:51:00 +0000 (16:51 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 26 Mar 2024 02:03:05 +0000 (11:03 +0900)
commit6199e35adf639d5d506387d09b4a35bbe9e67c32
treeaf68955921cdc3c9be3b04154a3b9d2645525b38
parent534ce6737f0b08f8065740758da6e2e0dab3b79f
[coverity] fix coverity issue

- This commit fixes the coverity issues
- AUTO_CAUSES_COPY
- MSSING_LOCK

Self-evaluation:

1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Eunju Yang <ej.yang@samsung.com>
nntrainer/dataset/iteration_queue.cpp
test/unittest/layers/layers_common_tests.h