Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CoMISo
Base
Commits
af998d8d
Commit
af998d8d
authored
Nov 03, 2015
by
Martin Marinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some more minor changes to the Debug system.
[git-p4: depot-paths = "//ReForm/ReForm/main/Base/": change = 13176]
parent
fe68dbb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Debug/DebOut.hh
Debug/DebOut.hh
+1
-1
Debug/DebStream.cc
Debug/DebStream.cc
+2
-2
No files found.
Debug/DebOut.hh
View file @
af998d8d
...
...
@@ -79,7 +79,7 @@ public:
~
Enter
();
//! pass the output on the level or not?
bool
pass
(
const
int
_lvl
)
const
{
return
_lvl
<
lvl_
;
}
bool
pass
(
const
int
_lvl
)
const
{
return
_lvl
<
=
lvl_
;
}
Stream
&
stream
(
const
int
_warn
=
0
,
const
bool
_print
=
true
);
...
...
Debug/DebStream.cc
View file @
af998d8d
...
...
@@ -802,6 +802,8 @@ Enter::Enter(const char* const _flnm, const char* const _fnct,
int
&
_nmbr
,
int
&
_lvl
)
:
flnm_
(
_flnm
),
outs_
(
0
),
lns_
(
0
)
{
// TODO: for thread-safety we will need to make the constructor body atomic!
stream
(
0
,
false
).
dfile
()
->
call_stack
().
add
(
_fnct
,
this
);
nmbr_
=
_nmbr
++
;
if
(
_lvl
==
INVALID_LEVEL
)
...
...
@@ -810,8 +812,6 @@ Enter::Enter(const char* const _flnm, const char* const _fnct,
static
int
id_cnt
=
0
;
id_
=
++
id_cnt
;
stream
(
0
,
false
).
dfile
()
->
call_stack
().
add
(
_fnct
,
this
);
}
Enter
::~
Enter
()
...
...
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