diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-27 19:38:15 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-27 19:38:15 -0800 |
commit | 10f3ea0008a4563c2baa4f29954c285d2d53d7dc (patch) | |
tree | 8aedadea55a31de188be16a1ec140cdbc76adba5 /src/env_universal_common.h | |
parent | 88a785e32117081b91b813ac6b5437deb33ef0f7 (diff) |
Mark a bunch of constructors as explicit
This prevents undesired implicit conversions
Diffstat (limited to 'src/env_universal_common.h')
-rw-r--r-- | src/env_universal_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env_universal_common.h b/src/env_universal_common.h index 3428c693..60cf0027 100644 --- a/src/env_universal_common.h +++ b/src/env_universal_common.h @@ -75,7 +75,7 @@ class env_universal_t static var_table_t read_message_internal(int fd); public: - env_universal_t(const wcstring &path); + explicit env_universal_t(const wcstring &path); ~env_universal_t(); /* Get the value of the variable with the specified name */ |