mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-30 23:40:29 +01:00
Add nosonar tags
This commit is contained in:
@@ -1125,7 +1125,7 @@ std::string scene::node_layers::check_sources() const
|
||||
if (fine)
|
||||
++good;
|
||||
else if (++bad <= 5)
|
||||
report += " [" + node->name() + " " + std::to_string(source.span.begin) + "-" + std::to_string(source.span.end) + ": " + piece.substr(0, 60) + " ... " + (piece.size() > 30 ? piece.substr(piece.size() - 30) : std::string{}) + "]";
|
||||
report += " [" + node->name() + " " + std::to_string(source.span.begin) + "-" + std::to_string(source.span.end) + ": " + piece.substr(0, 60) + " ... " + (piece.size() > 30 ? piece.substr(piece.size() - 30) : std::string{}) + "]"; // NOSONAR
|
||||
}
|
||||
return std::to_string(good) + " good, " + std::to_string(bad) + " bad" + report;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user