roslint
roslint copied to clipboard
Impossible brace+paren combo
I need to write some code that uses std::transform, like this:
std::transform(rows.begin(), rows.end(), std::back_inserter(concepts), [this](const mysqlx::Row & row)
{
return Concept(row[0], *this);
});
This will generate } should be on a line by itself [whitespace/braces] [4]
. If I do this though, I'll just get closing ) should be moved to the previous line [whitespace/parens] [2]
.