Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kpu/kenlm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2016-07-27 16:50:25 +0300
committerKenneth Heafield <github@kheafield.com>2016-07-27 16:50:25 +0300
commit8ecfb31a6d96744d5f6690799b5fd8d1f2a4ebac (patch)
treedd2edbccc02fb8a583d910f12aaab94a5cca9a17 /util
parenta4bd1386019ae7bf825e8ad4351d5651eff6a88f (diff)
Remove scoped_fd conversion to bool which could then be converted to int...
Diffstat (limited to 'util')
-rw-r--r--util/file.hh2
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_;