Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
35d39028
Commit
35d39028
authored
Nov 07, 2012
by
Davis King
Browse files
Updated examples to use simpler syntax.
parent
c2825e86
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
examples/server_http_ex.cpp
examples/server_http_ex.cpp
+1
-1
examples/sockets_ex.cpp
examples/sockets_ex.cpp
+1
-2
examples/sockstreambuf_ex.cpp
examples/sockstreambuf_ex.cpp
+1
-1
No files found.
examples/server_http_ex.cpp
View file @
35d39028
...
@@ -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
,
...
...
examples/sockets_ex.cpp
View file @
35d39028
...
@@ -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
)
)
...
...
examples/sockstreambuf_ex.cpp
View file @
35d39028
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment