summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-05-03 12:08:05 -0700
committerChih-Hung Hsieh <chh@google.com>2016-05-03 12:08:05 -0700
commit62e3a078aa7b156139b1a2cec77e1a84eb10c5a4 (patch)
treeb37425943e0cd7284b319d6cad98bd71dcfdc8bb /libc/stdio/stdio.cpp
parent9ee905f12fa0aeb4ae0df708e15d2ffcfaf58000 (diff)
Fix google-explicit-constructor warnings.
Bug: 28341362 Change-Id: I84effbdfa1b9b39328a909b7f70fe17e7ee316c8
Diffstat (limited to 'libc/stdio/stdio.cpp')
-rw-r--r--libc/stdio/stdio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/stdio.cpp b/libc/stdio/stdio.cpp
index 1c31a277f..5df1bb95d 100644
--- a/libc/stdio/stdio.cpp
+++ b/libc/stdio/stdio.cpp
@@ -90,7 +90,7 @@ static struct glue* lastglue = &__sglue;
class ScopedFileLock {
public:
- ScopedFileLock(FILE* fp) : fp_(fp) {
+ explicit ScopedFileLock(FILE* fp) : fp_(fp) {
FLOCKFILE(fp_);
}
~ScopedFileLock() {