Closed MichaelChirico closed 2 years ago
Flagged by -Wshadow.
-Wshadow
cbSet::const_iterator it std::vector<std::shared_ptr<CallbackRegistry> >::const_iterator it
two iterators with the same name in nearby scopes makes it a bit harder to decide which is which. Simply renamed the first one for clarity.
Flagged by
-Wshadow
.two iterators with the same name in nearby scopes makes it a bit harder to decide which is which. Simply renamed the first one for clarity.