aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/util/safe_ofstream.cc2
-rw-r--r--paludis/util/safe_ofstream.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/paludis/util/safe_ofstream.cc b/paludis/util/safe_ofstream.cc
index 859428ecc..7861572df 100644
--- a/paludis/util/safe_ofstream.cc
+++ b/paludis/util/safe_ofstream.cc
@@ -138,7 +138,7 @@ SafeOFStream::SafeOFStream(const FSPath & p, const int open_flags, const bool b)
{
}
-SafeOFStream::~SafeOFStream()
+SafeOFStream::~SafeOFStream() PALUDIS_NOEXCEPT(false)
{
buf.write_buffered();
diff --git a/paludis/util/safe_ofstream.hh b/paludis/util/safe_ofstream.hh
index e77120b1d..221ff1e40 100644
--- a/paludis/util/safe_ofstream.hh
+++ b/paludis/util/safe_ofstream.hh
@@ -118,7 +118,7 @@ namespace paludis
SafeOFStream(const int fd, const bool buffer);
SafeOFStream(const FSPath &, const int open_flags, const bool buffer);
- ~SafeOFStream();
+ ~SafeOFStream() PALUDIS_NOEXCEPT(false);
///\}
};