1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

BreadthFirstIterator.h - fix uninitialized variable warning in default constructor. NFCI.

This commit is contained in:
Simon Pilgrim 2021-06-06 14:13:08 +01:00
parent ad627a8a5f
commit 2640520cf0

View File

@ -64,7 +64,7 @@ private:
std::queue<Optional<QueueElement>> VisitQueue;
// Current level.
unsigned Level;
unsigned Level = 0;
inline bf_iterator(NodeRef Node) {
this->Visited.insert(Node);