Skip to content

Commit d96d31a

Browse files
committed
Fix linting
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 170cb80 commit d96d31a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/common/exec/exec.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ namespace px {
2727
// GCC's ingnored-attribute warning is triggered without wrapping pclose. This is likely do to the
2828
// nonnull attribute.
2929
struct pclose_deleter {
30-
void operator()(FILE* file) const {
31-
pclose(file);
32-
}
30+
void operator()(FILE* file) const { pclose(file); }
3331
};
3432

3533
StatusOr<std::string> Exec(std::string cmd) {

0 commit comments

Comments
 (0)