aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wouter van Kesteren <woutershep@gmail.com> 2013-04-18 18:43:28 +0200
committerAvatar Wouter van Kesteren <woutershep@gmail.com> 2013-05-03 22:54:13 +0200
commitbdbdd1ba867a9335396031bd87f3ad9c9edf07ea (patch)
tree7ec49e1eb2a4c2357bd3d715a1ef9a3568a32e8b
parentf229e6b71de24d65caea010053f0650d53bece01 (diff)
downloadpaludis-bdbdd1ba867a9335396031bd87f3ad9c9edf07ea.tar.gz
paludis-bdbdd1ba867a9335396031bd87f3ad9c9edf07ea.tar.xz
Mark ~SafeOFStream() as noexcept(false)
-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 859428e..7861572 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 e77120b..221ff1e 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);
///\}
};