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
7cbbfbb6
Commit
7cbbfbb6
authored
Feb 12, 2019
by
Dominik Charousset
Committed by
Dominik Charousset
Feb 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid accessing static value through object
parent
6e8ef53f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libcaf_io/caf/io/basp/remote_message_handler.hpp
libcaf_io/caf/io/basp/remote_message_handler.hpp
+2
-2
No files found.
libcaf_io/caf/io/basp/remote_message_handler.hpp
View file @
7cbbfbb6
...
...
@@ -98,14 +98,14 @@ public:
switch
(
static_cast
<
uint64_t
>
(
msg
.
get_as
<
atom_value
>
(
0
)))
{
default:
break
;
case
link_atom
:
:
value
.
uint_value
()
:
{
case
link_atom
:
:
uint_value
()
:
{
if
(
ptr
!=
nullptr
)
static_cast
<
actor_proxy
*>
(
ptr
->
get
())
->
add_link
(
dst
->
get
());
else
CAF_LOG_WARNING
(
"received link message with invalid target"
);
return
;
}
case
unlink_atom
:
:
value
.
uint_value
()
:
{
case
unlink_atom
:
:
uint_value
()
:
{
if
(
ptr
!=
nullptr
)
static_cast
<
actor_proxy
*>
(
ptr
->
get
())
->
remove_link
(
dst
->
get
());
else
...
...
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