summaryrefslogtreecommitdiff
path: root/libfec
diff options
context:
space:
mode:
Diffstat (limited to 'libfec')
-rw-r--r--libfec/include/fec/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfec/include/fec/io.h b/libfec/include/fec/io.h
index 7f8122c9..5e597ac2 100644
--- a/libfec/include/fec/io.h
+++ b/libfec/include/fec/io.h
@@ -123,7 +123,7 @@ namespace fec {
public:
io() : handle_(nullptr, fec_close) {}
- io(const std::string& fn, int mode = O_RDONLY, int flags = 0,
+ explicit io(const std::string& fn, int mode = O_RDONLY, int flags = 0,
int roots = FEC_DEFAULT_ROOTS) : handle_(nullptr, fec_close) {
open(fn, mode, flags, roots);
}