SWDEV-408701 - Avoid adding duplicates when no node is captured in cross stream
Change-Id: Iccbddaf9db73238aa938f8b3e8ec410f4a86d524
Этот коммит содержится в:
коммит произвёл
Anusha Godavarthy Surya
родитель
2535fac296
Коммит
c7e4e9c2f4
@@ -336,7 +336,10 @@ namespace hip {
|
||||
lastCapturedNodes_.clear();
|
||||
}
|
||||
for (auto node : graphNodes) {
|
||||
lastCapturedNodes_.push_back(node);
|
||||
if (std::find(lastCapturedNodes_.begin(), lastCapturedNodes_.end(), node) ==
|
||||
lastCapturedNodes_.end()) {
|
||||
lastCapturedNodes_.push_back(node);
|
||||
}
|
||||
}
|
||||
}
|
||||
/// Set graph that is being captured
|
||||
|
||||
Ссылка в новой задаче
Block a user