File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -122,14 +122,14 @@ namespace crow
122
122
template <typename CompletionHandler>
123
123
void dispatch (CompletionHandler&& handler)
124
124
{
125
- adaptor_.get_io_service (). dispatch ( std::forward<CompletionHandler>(handler));
125
+ asio::dispatch ( adaptor_.get_io_service (), std::forward<CompletionHandler>(handler));
126
126
}
127
127
128
128
// / Send data through the socket and return immediately.
129
129
template <typename CompletionHandler>
130
130
void post (CompletionHandler&& handler)
131
131
{
132
- adaptor_.get_io_service (). post ( std::forward<CompletionHandler>(handler));
132
+ asio::post ( adaptor_.get_io_service (), std::forward<CompletionHandler>(handler));
133
133
}
134
134
135
135
// / Send a "Ping" message.
@@ -648,6 +648,14 @@ namespace crow
648
648
{
649
649
self->send_data_impl (this );
650
650
}
651
+
652
+ SendMessageType () noexcept = default ;
653
+
654
+ SendMessageType (SendMessageType const &) = delete ;
655
+ SendMessageType& operator =(SendMessageType const &) = delete ;
656
+
657
+ SendMessageType (SendMessageType&&) noexcept = default ;
658
+ SendMessageType& operator =(SendMessageType&&) noexcept = default ;
651
659
};
652
660
653
661
static_assert (
You can’t perform that action at this time.
0 commit comments