Fix debug output of data.guids and don't output data.last_guid.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tastytea 2020-01-01 13:42:34 +01:00
parent 986bac21da
commit 0eb103fb8e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -52,20 +52,19 @@ std::ostream &operator <<(std::ostream &out, const ProfileData &data)
out << ", ";
}
}
out << "guids: [";
out << "], "
<< "guids: [";
for (const auto &guid : data.guids)
{
out << '"' << guid << '"';
if (guid != *data.fixes.rbegin())
if (guid != *data.guids.rbegin())
{
out << ", ";
}
}
out << "], "
<< "instance: \"" << data.instance << "\", "
out << "instance: \"" << data.instance << "\", "
<< "interval: " << data.interval << ", "
<< "keep_looking: " << data.keep_looking << ", "
<< "last_guid: \"" << data.last_guid << "\", "
<< "max_size: " << data.max_size << ", "
<< "skip: [";
for (const auto &skip : data.skip)