Tidy up examples

This commit is contained in:
Vinnie Falco committed 2019-03-06 05:40:49 -08:00
1 parent e073a9e7fc
commit b51c4bb49a
13 files changed
+49 -44

No files matched your search

@@ -785,10 +785,6 @@ private:
void
on_shutdown(beast::error_code ec)
{
// Happens when the shutdown times out
if(ec == net::error::operation_aborted)
return;
if(ec)
return fail(ec, "shutdown");
@@ -917,11 +913,10 @@ public:
void
run()
{
if(! acceptor_.is_open())
return;
do_accept();
}
private:
void
do_accept()
{