Commit c46725b9 authored by Ingo Klöcker's avatar Ingo Klöcker Committed by Ingo Klöcker
Browse files

Readd QDebug operator<< overload for vector of statuslines

It seems gcc doesn't need this, but clang does.
parent c769793c
Pipeline #92826 passed with stage
in 14 minutes
......@@ -103,6 +103,16 @@ static QDebug operator<<(QDebug s, const GpgME::Error &err)
}
#endif
static QDebug operator<<(QDebug s, const std::vector< std::pair<std::string, std::string> > &v)
{
using pair = std::pair<std::string, std::string>;
s << '(';
for (const pair &p : v) {
s << "status(" << QString::fromStdString(p.first) << ") =" << QString::fromStdString(p.second) << '\n';
}
return s << ')';
}
struct CardApp {
std::string serialNumber;
std::string appName;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment