Commit 35d39028 authored by Davis King's avatar Davis King

Updated examples to use simpler syntax.

parent c2825e86
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
using namespace dlib; using namespace dlib;
using namespace std; using namespace std;
class web_server : public server::http_1a_c class web_server : public server_http
{ {
const std::string on_request ( const std::string on_request (
const incoming_things& incoming, const incoming_things& incoming,
......
...@@ -21,9 +21,8 @@ using namespace std; ...@@ -21,9 +21,8 @@ using namespace std;
class serv : public server::kernel_1a_c class serv : public server
{ {
void on_connect ( void on_connect (
connection& con connection& con
) )
......
...@@ -32,7 +32,7 @@ using namespace std; ...@@ -32,7 +32,7 @@ using namespace std;
class serv : public server::kernel_1a_c class serv : public server
{ {
void on_connect ( void on_connect (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment