aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/util/safe_ifstream.hh6
-rw-r--r--paludis/util/safe_ofstream.hh6
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();
///\}