From 7d94b1c17bb92299f47e80fe1c68555d9ecc65d0 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 13 Sep 2018 03:06:17 -0700 Subject: [PATCH] ircd: Relax noexcept in std::function template declarations. --- include/ircd/ctx/continuation.h | 2 +- include/ircd/server/request.h | 4 ++-- include/ircd/util/util.h | 2 +- ircd/ctx.cc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/ircd/ctx/continuation.h b/include/ircd/ctx/continuation.h index 5e79e3385..6a62546df 100644 --- a/include/ircd/ctx/continuation.h +++ b/include/ircd/ctx/continuation.h @@ -68,7 +68,7 @@ struct ircd::ctx::continuation struct ircd::ctx::to_asio :ircd::ctx::continuation { - using function = std::function; + using function = std::function; function handler; diff --git a/include/ircd/server/request.h b/include/ircd/server/request.h index 7a7d3213c..6fe54f16c 100644 --- a/include/ircd/server/request.h +++ b/include/ircd/server/request.h @@ -38,7 +38,7 @@ struct ircd::server::out /// data most recently written. The second argument is a view of all data /// written so far. This is only invoked for content. At the first /// invocation, the head has been fully written. - std::function progress; + std::function progress; }; /// Request data and options related to the receive side of the request. @@ -59,7 +59,7 @@ struct ircd::server::in /// data most recently received. The second argument is a view of all data /// received so far. This is only invoked for content, not for the head; /// however the first time it is invoked it is safe to view the in.head - std::function progress; + std::function progress; /// The dynamic buffer is a convenience that allows for the content buffer /// to be allocated on demand once the head is received and the length is diff --git a/include/ircd/util/util.h b/include/ircd/util/util.h index 6b23ed748..99b8db833 100644 --- a/include/ircd/util/util.h +++ b/include/ircd/util/util.h @@ -60,7 +60,7 @@ namespace util { /// unique_ptr template for custom deleters every single time. /// template -using custom_ptr = std::unique_ptr>; +using custom_ptr = std::unique_ptr>; // // Misc size() participants. diff --git a/ircd/ctx.cc b/ircd/ctx.cc index 6b967d5af..63ee5da83 100644 --- a/ircd/ctx.cc +++ b/ircd/ctx.cc @@ -1333,7 +1333,7 @@ ircd::ctx::prof::check_stack() namespace ircd::ctx::ole { - using closure = std::function; + using closure = std::function; extern conf::item thread_max;