Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Dom Del Nano <[email protected]>
  • Loading branch information
ddelnano committed Jan 16, 2025
1 parent 2b36223 commit 91a56ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/common/exec/exec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ namespace px {
// GCC's ingnored-attribute warning is triggered without wrapping pclose. This is likely do to the
// nonnull attribute.
struct pclose_deleter {
void operator()(FILE* file) const {
pclose(file);
}
void operator()(FILE* file) const { pclose(file); }
};

StatusOr<std::string> Exec(std::string cmd) {
Expand Down

0 comments on commit 91a56ea

Please sign in to comment.