diff options
author | 2010-08-23 13:37:14 +0100 | |
---|---|---|
committer | 2010-08-24 15:47:36 +0100 | |
commit | 75f48bbb1ae368febe984c10c2db2d0b5cbd7cec (patch) | |
tree | b0ae6026ed2ab6233a9e0aa5337333d3e53dd683 | |
parent | efb4ba6242a6388dbe0a20ac66ba6ae041e49ca8 (diff) | |
download | paludis-75f48bbb1ae368febe984c10c2db2d0b5cbd7cec.tar.gz paludis-75f48bbb1ae368febe984c10c2db2d0b5cbd7cec.tar.xz |
explicit ctors
-rw-r--r-- | paludis/util/safe_ifstream.hh | 6 | ||||
-rw-r--r-- | paludis/util/safe_ofstream.hh | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/paludis/util/safe_ifstream.hh b/paludis/util/safe_ifstream.hh index 37803e65d..f905292c8 100644 --- a/paludis/util/safe_ifstream.hh +++ b/paludis/util/safe_ifstream.hh @@ -1,7 +1,7 @@ /* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* - * Copyright (c) 2009 Ciaran McCreesh + * Copyright (c) 2009, 2010 Ciaran McCreesh * * This file is part of the Paludis package manager. Paludis is free software; * you can redistribute it and/or modify it under the terms of the GNU General @@ -110,8 +110,8 @@ namespace paludis ///\name Basic operations ///\{ - SafeIFStream(const int fd); - SafeIFStream(const FSEntry &); + explicit SafeIFStream(const int fd); + explicit SafeIFStream(const FSEntry &); ~SafeIFStream(); ///\} diff --git a/paludis/util/safe_ofstream.hh b/paludis/util/safe_ofstream.hh index 14f7f5791..543a94b71 100644 --- a/paludis/util/safe_ofstream.hh +++ b/paludis/util/safe_ofstream.hh @@ -1,7 +1,7 @@ /* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* - * Copyright (c) 2006, 2007, 2008, 2009 Ciaran McCreesh + * Copyright (c) 2006, 2007, 2008, 2009, 2010 Ciaran McCreesh * * This file is part of the Paludis package manager. Paludis is free software; * you can redistribute it and/or modify it under the terms of the GNU General @@ -108,8 +108,8 @@ namespace paludis ///\name Basic operations ///\{ - SafeOFStream(const int fd); - SafeOFStream(const FSEntry &, const int open_flags = -1); + explicit SafeOFStream(const int fd); + explicit SafeOFStream(const FSEntry &, const int open_flags = -1); ~SafeOFStream(); ///\} |