Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
cfb86ab1
Commit
cfb86ab1
authored
Nov 17, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed name of private logger to avoid name conflicts in derived classes.
parent
93a232d3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
server_iostream.cpp
dlib/server/server_iostream.cpp
+1
-1
server_iostream.h
dlib/server/server_iostream.h
+2
-2
No files found.
dlib/server/server_iostream.cpp
View file @
cfb86ab1
...
...
@@ -7,7 +7,7 @@
namespace
dlib
{
const
logger
server_iostream
::
dl
og
(
"dlib.server_iostream"
);
const
logger
server_iostream
::
_dL
og
(
"dlib.server_iostream"
);
}
#endif // DLIB_SERVER_IOSTREAM_CPp_
...
...
dlib/server/server_iostream.h
View file @
cfb86ab1
...
...
@@ -126,7 +126,7 @@ namespace dlib
}
}
dl
og
<<
LERROR
<<
"We ran out of memory in server_iostream::on_connect()"
;
_dL
og
<<
LERROR
<<
"We ran out of memory in server_iostream::on_connect()"
;
// if this is an escaped exception from on_connect then let it fly!
// Seriously though, this way it is obvious to the user that something bad happened
// since they probably won't have the dlib logger enabled.
...
...
@@ -137,7 +137,7 @@ namespace dlib
uint64
next_id
;
id_map
con_map
;
const
static
logger
dl
og
;
const
static
logger
_dL
og
;
mutex
m
;
...
...
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