aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/safe_ofstream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/safe_ofstream.cc')
-rw-r--r--paludis/util/safe_ofstream.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/util/safe_ofstream.cc b/paludis/util/safe_ofstream.cc
index 5c3917bb6..859428ecc 100644
--- a/paludis/util/safe_ofstream.cc
+++ b/paludis/util/safe_ofstream.cc
@@ -109,7 +109,7 @@ SafeOFStreamBase::SafeOFStreamBase(const int f, const bool b) :
SafeOFStream::SafeOFStream(const int f, const bool buffer) :
SafeOFStreamBase(f, buffer),
- std::ostream(&buf),
+ StreamHolder<std::ostream>(&buf),
_close(false)
{
}
@@ -133,7 +133,7 @@ namespace
SafeOFStream::SafeOFStream(const FSPath & p, const int open_flags, const bool b) :
SafeOFStreamBase(check_open_path(p, open_flags), b),
- std::ostream(&buf),
+ StreamHolder<std::ostream>(&buf),
_close(true)
{
}