Skip to content

Commit

Permalink
Add missing push/pop_options includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed Jul 14, 2021
1 parent d92c100 commit bd496b0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
4 changes: 4 additions & 0 deletions asio/include/asio/experimental/coro.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include "asio/experimental/use_coro.hpp"
#include "asio/post.hpp"

#include "asio/detail/push_options.hpp"

namespace asio {
namespace experimental {

Expand Down Expand Up @@ -1048,4 +1050,6 @@ struct coro_promise final :
} // namespace experimental
} // namespace asio

#include "asio/detail/pop_options.hpp"

#endif // ASIO_EXPERIMENTAL_CORO_HPP
3 changes: 2 additions & 1 deletion asio/include/asio/experimental/deferred.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
#include <tuple>
#include "asio/associator.hpp"
#include "asio/async_result.hpp"
#include "asio/detail/push_options.hpp"
#include "asio/detail/type_traits.hpp"

#include "asio/detail/push_options.hpp"

namespace asio {
namespace experimental {

Expand Down
4 changes: 4 additions & 0 deletions asio/include/asio/experimental/impl/promise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#include <tuple>
#include <optional>

#include "asio/detail/push_options.hpp"

namespace asio {
namespace experimental {

Expand Down Expand Up @@ -91,4 +93,6 @@ struct promise_handler<void(Ts...), Executor>
} // namespace experimental
} // namespace asio

#include "asio/detail/pop_options.hpp"

#endif // ASIO_EXPERIMENTAL_IMPL_PROMISE_HPP
4 changes: 4 additions & 0 deletions asio/include/asio/experimental/promise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

#include <variant>

#include "asio/detail/push_options.hpp"

namespace asio {
namespace experimental {

Expand Down Expand Up @@ -598,4 +600,6 @@ struct async_result<experimental::use_promise_t<Executor>, R(Args...)>

} // namespace asio

#include "asio/detail/pop_options.hpp"

#endif // ASIO_EXPERIMENTAL_PROMISE_HPP
4 changes: 4 additions & 0 deletions asio/include/asio/experimental/use_coro.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "asio/error_code.hpp"
#include "asio/experimental/detail/partial_promise.hpp"

#include "asio/detail/push_options.hpp"

namespace asio {

class any_io_executor;
Expand Down Expand Up @@ -273,6 +275,8 @@ struct async_result<experimental::use_coro_t<Executor>, R(Args...)>

} // namespace asio

#include "asio/detail/pop_options.hpp"

#include "asio/experimental/coro.hpp"

#endif // ASIO_EXPERIMENTAL_USE_CORO_HPP

0 comments on commit bd496b0

Please sign in to comment.