[ncp] fix auto in enhanced loop (#6938)

This commit is contained in:
Li Cao
2021-08-17 19:44:26 -07:00
committed by GitHub
parent 3a90ed81f0
commit 814a6c17ef
+1 -1
View File
@@ -4731,7 +4731,7 @@ void NcpBase::ProcessThreadChangedFlags(void)
// Convert OT_CHANGED flags to corresponding NCP property update.
for (auto flag : kFlags)
for (auto &flag : kFlags)
{
uint32_t threadFlag = flag.mThreadFlag;