aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/safe_ofstream.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/safe_ofstream.hh')
-rw-r--r--paludis/util/safe_ofstream.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/util/safe_ofstream.hh b/paludis/util/safe_ofstream.hh
index 8392c1d82..e77120b1d 100644
--- a/paludis/util/safe_ofstream.hh
+++ b/paludis/util/safe_ofstream.hh
@@ -24,6 +24,7 @@
#include <paludis/util/exception.hh>
#include <paludis/util/fs_path-fwd.hh>
#include <paludis/util/pimp.hh>
+#include <paludis/util/stream_holder.hh>
#include <ostream>
/** \file
@@ -106,7 +107,7 @@ namespace paludis
*/
class PALUDIS_VISIBLE SafeOFStream :
protected SafeOFStreamBase,
- public std::ostream
+ public StreamHolder<std::ostream>
{
private:
const bool _close;