aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-10-06 18:05:47 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-10-09 13:41:43 +0300
commit758b64bcf02d9269ae4765ab98d7d46396b3e69a (patch)
treea84e37e3807adfe6f72911e307c2da209429569d
parentb7f00311c5db71dbf8f8dbfd5ce4c0f4f35faa5a (diff)
Remove invalid noexcept from fdnull() declaration
-rw-r--r--libbutl/fdstream.cxx4
-rw-r--r--libbutl/fdstream.mxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/libbutl/fdstream.cxx b/libbutl/fdstream.cxx
index 3b0895c..955b75d 100644
--- a/libbutl/fdstream.cxx
+++ b/libbutl/fdstream.cxx
@@ -818,7 +818,7 @@ namespace butl
}
auto_fd
- fdnull () noexcept
+ fdnull ()
{
int fd (open ("/dev/null", O_RDWR | O_CLOEXEC));
@@ -988,7 +988,7 @@ namespace butl
}
auto_fd
- fdnull (bool temp) noexcept
+ fdnull (bool temp)
{
// No need to translate \r\n before sending it to void.
//
diff --git a/libbutl/fdstream.mxx b/libbutl/fdstream.mxx
index cf52601..440e637 100644
--- a/libbutl/fdstream.mxx
+++ b/libbutl/fdstream.mxx
@@ -669,10 +669,10 @@ LIBBUTL_MODEXPORT namespace butl
//
#ifndef _WIN32
LIBBUTL_SYMEXPORT auto_fd
- fdnull () noexcept;
+ fdnull ();
#else
LIBBUTL_SYMEXPORT auto_fd
- fdnull (bool temp = false) noexcept;
+ fdnull (bool temp = false);
#endif
struct fdpipe