[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>
Thu, 28 Mar 2024 23:45:13 +0000 (08:45 +0900)
commit1b7f49cfb31d5be6bd2799ef62f87feb8c69bd4f
tree8a34a15d4edf465f3cfa544b67d9ac19857d580a
parentf4d3aa7a73310157825518c77ef685b0751c1a77
[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