diff options
author | Kenneth Heafield <github@kheafield.com> | 2016-07-27 16:50:25 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2016-07-27 16:50:25 +0300 |
commit | 8ecfb31a6d96744d5f6690799b5fd8d1f2a4ebac (patch) | |
tree | dd2edbccc02fb8a583d910f12aaab94a5cca9a17 /util | |
parent | a4bd1386019ae7bf825e8ad4351d5651eff6a88f (diff) |
Remove scoped_fd conversion to bool which could then be converted to int...
Diffstat (limited to 'util')
-rw-r--r-- | util/file.hh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/util/file.hh b/util/file.hh index 79f1d49..4a50e73 100644 --- a/util/file.hh +++ b/util/file.hh @@ -41,8 +41,6 @@ class scoped_fd { return ret; } - operator bool() const { return fd_ != -1; } - private: int fd_; |