Skip to content

Commit

Permalink
Remove scoped_fd conversion to bool which could then be converted to …
Browse files Browse the repository at this point in the history
…int...
  • Loading branch information
kpu committed Jul 27, 2016
1 parent a4bd138 commit 8ecfb31
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions util/file.hh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ class scoped_fd {
return ret;
}

operator bool() const { return fd_ != -1; }

private:
int fd_;

Expand Down

0 comments on commit 8ecfb31

Please sign in to comment.