Closed
Description
Following line will cause error.
ScopeGuard guard([&](){ close(); });
With lambda expressions it should be allowed to have two ; on a line.
Found this on google: https://rules.sonarsource.com/c/RSPEC-122. Don't know how that relates to this community.