Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
ae6d89c8
Commit
ae6d89c8
authored
Apr 16, 2017
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix hiding warning in caf-vec
parent
693d0626
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tools/caf-vec.cpp
tools/caf-vec.cpp
+5
-5
No files found.
tools/caf-vec.cpp
View file @
ae6d89c8
...
...
@@ -654,10 +654,10 @@ void second_pass(blocking_actor* self, const group& grp,
++
line
;
// increment local time
auto
&
st
=
state
(
plain_entry
.
id
);
// do not produce log output for
silent
actors but still track messages
// do not produce log output for
internal
actors but still track messages
// through those actors, because they might be forwarding messages
bool
silent
=
drop_hidden_actors
&&
st
.
eid
.
hidden
;
if
(
!
silent
)
bool
internal
=
drop_hidden_actors
&&
st
.
eid
.
hidden
;
if
(
!
internal
)
st
.
clock
[
st
.
eid
.
vid
]
+=
1
;
// generate enhanced entry (with incomplete JSON timestamp for now)
enhanced_log_entry
entry
{
plain_entry
,
st
.
eid
,
st
.
clock
,
string
{}};
...
...
@@ -738,7 +738,7 @@ void second_pass(blocking_actor* self, const group& grp,
oss
<<
'}'
;
entry
.
json_vstamp
=
oss
.
str
();
// print entry to output file
if
(
!
silent
)
{
if
(
!
internal
)
{
std
::
lock_guard
<
std
::
mutex
>
guard
{
out_mtx
};
out
<<
entry
<<
'\n'
;
}
...
...
@@ -773,7 +773,7 @@ void caf_main(actor_system& sys, const config& cfg) {
verbosity_level
vl
;
switch
(
cfg
.
verbosity
)
{
case
0
:
vl
=
verbosity_level
::
silent
;
vl
=
silent
;
break
;
case
1
:
vl
=
verbosity_level
::
informative
;
...
...
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