aboutsummaryrefslogtreecommitdiff
path: root/paludis/ipc_output_manager.hh
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-11 14:28:07 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-11 14:28:07 -0800
commitbe4e3f21e4465fba00571b547050d0b8c0350589 (patch)
treebcd2baf85486541b1254b58d8f6da0900245fe3c /paludis/ipc_output_manager.hh
parenta80d4dcdea8e36471a3f9a9184d1d1416030b51a (diff)
downloadpaludis-be4e3f21e4465fba00571b547050d0b8c0350589.tar.gz
paludis-be4e3f21e4465fba00571b547050d0b8c0350589.tar.xz
paludis: address -Wterminate warning from gcc 6
In C++11, destructors are `noexcept` by default. However, some of the destructors in paludis throw. Annotate these functions as `noexcept(false)`.
Diffstat (limited to 'paludis/ipc_output_manager.hh')
-rw-r--r--paludis/ipc_output_manager.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/ipc_output_manager.hh b/paludis/ipc_output_manager.hh
index 33b2506d9..111f6d556 100644
--- a/paludis/ipc_output_manager.hh
+++ b/paludis/ipc_output_manager.hh
@@ -71,7 +71,7 @@ namespace paludis
const Environment * const,
const std::function<void (const std::shared_ptr<OutputManager> &)> &);
- ~IPCInputManager();
+ ~IPCInputManager() noexcept(false);
const std::function<std::string (const std::string &)> pipe_command_handler()
PALUDIS_ATTRIBUTE((warn_unused_result));
@@ -104,7 +104,7 @@ namespace paludis
const ClientOutputFeatures &
);
- ~OutputManagerFromIPC();
+ ~OutputManagerFromIPC() noexcept(false);
const std::shared_ptr<OutputManager> operator() (const Action &);