aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/safe_ofstream.cc
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-12-08 23:15:21 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-12-15 23:08:50 -0800
commit21163e764db5aa8bfcb21d2222421a19ded246a0 (patch)
tree0b508bfe227a0e1cad7e4020bccc0644b7058a14 /paludis/util/safe_ofstream.cc
parente2e7c995c0ae9615707c45e7b3012a4cd6ea0d1b (diff)
downloadpaludis-21163e764db5aa8bfcb21d2222421a19ded246a0.tar.gz
paludis-21163e764db5aa8bfcb21d2222421a19ded246a0.tar.xz
build: assume full C++11 support
paludis requires C++11 support. Remove checks and compatibility code to permit building with partial C++11 support. This mostly removes the configure checks for support for C++11 features. noexcept and std::next (part of the C++11 standard library) had compatibility code which is no longer exercised and should be safe to excise. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Diffstat (limited to 'paludis/util/safe_ofstream.cc')
-rw-r--r--paludis/util/safe_ofstream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/safe_ofstream.cc b/paludis/util/safe_ofstream.cc
index 7861572df..9f23390b3 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() PALUDIS_NOEXCEPT(false)
+SafeOFStream::~SafeOFStream() noexcept(false)
{
buf.write_buffered();