Updated examples to use simpler syntax.

This commit is contained in:
Davis King 2012-11-07 21:41:50 -05:00
parent c2825e8625
commit 35d390282f
3 changed files with 3 additions and 4 deletions

View File

@ -17,7 +17,7 @@
using namespace dlib;
using namespace std;
class web_server : public server::http_1a_c
class web_server : public server_http
{
const std::string on_request (
const incoming_things& incoming,

View File

@ -21,9 +21,8 @@ using namespace std;
class serv : public server::kernel_1a_c
class serv : public server
{
void on_connect (
connection& con
)

View File

@ -32,7 +32,7 @@ using namespace std;
class serv : public server::kernel_1a_c
class serv : public server
{
void on_connect (