Skip to content

Commit e603599

Browse files
this doesnt change anything
1 parent e733bac commit e603599

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/shared/Log.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,8 @@ void Log::InitSmartlogEntries(std::string const& str)
130130
uint32 entry;
131131
std::istringstream ss(str);
132132

133-
while (ss)
133+
while (ss >> entry)
134134
{
135-
ss >> entry;
136135
m_smartlogExtraEntries.insert(entry);
137136
}
138137
}
@@ -147,9 +146,8 @@ void Log::InitSmartlogGuids(std::string const& str)
147146
uint32 entry;
148147
std::istringstream ss(str);
149148

150-
while (ss)
149+
while (ss >> entry)
151150
{
152-
ss >> entry;
153151
m_smartlogExtraGuids.insert(entry);
154152
}
155153
}

0 commit comments

Comments
 (0)