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
3c3e3dca
Commit
3c3e3dca
authored
Oct 22, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "unused parameter" warnings
parent
2ced36ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
libcaf_core/src/abstract_group.cpp
libcaf_core/src/abstract_group.cpp
+2
-3
unit_testing/test_spawn.cpp
unit_testing/test_spawn.cpp
+1
-1
unit_testing/test_typed_spawn.cpp
unit_testing/test_typed_spawn.cpp
+1
-1
No files found.
libcaf_core/src/abstract_group.cpp
View file @
3c3e3dca
...
@@ -32,9 +32,8 @@ abstract_group::subscription::subscription(const abstract_group_ptr& g)
...
@@ -32,9 +32,8 @@ abstract_group::subscription::subscription(const abstract_group_ptr& g)
// nop
// nop
}
}
void
abstract_group
::
subscription
::
actor_exited
(
abstract_actor
*
self
,
void
abstract_group
::
subscription
::
actor_exited
(
abstract_actor
*
ptr
,
uint32_t
)
{
uint32_t
reason
)
{
m_group
->
unsubscribe
(
ptr
->
address
());
m_group
->
unsubscribe
(
self
->
address
());
}
}
bool
abstract_group
::
subscription
::
matches
(
const
token
&
what
)
{
bool
abstract_group
::
subscription
::
matches
(
const
token
&
what
)
{
...
...
unit_testing/test_spawn.cpp
View file @
3c3e3dca
...
@@ -947,7 +947,7 @@ void test_constructor_attach() {
...
@@ -947,7 +947,7 @@ void test_constructor_attach() {
class
exception_testee
:
public
event_based_actor
{
class
exception_testee
:
public
event_based_actor
{
public:
public:
exception_testee
()
{
exception_testee
()
{
set_exception_handler
([](
const
std
::
exception_ptr
&
eptr
)
->
optional
<
uint32_t
>
{
set_exception_handler
([](
const
std
::
exception_ptr
&
)
->
optional
<
uint32_t
>
{
return
exit_reason
::
user_defined
+
2
;
return
exit_reason
::
user_defined
+
2
;
});
});
}
}
...
...
unit_testing/test_typed_spawn.cpp
View file @
3c3e3dca
...
@@ -278,7 +278,7 @@ int_actor::behavior_type int_fun2(int_actor::pointer self) {
...
@@ -278,7 +278,7 @@ int_actor::behavior_type int_fun2(int_actor::pointer self) {
CAF_CHECK_EQUAL
(
dm
.
reason
,
exit_reason
::
normal
);
CAF_CHECK_EQUAL
(
dm
.
reason
,
exit_reason
::
normal
);
self
->
quit
();
self
->
quit
();
},
},
[
=
](
const
exit_msg
&
em
)
{
[
=
](
const
exit_msg
&
)
{
CAF_UNEXPECTED_MSG
(
self
);
CAF_UNEXPECTED_MSG
(
self
);
}
}
};
};
...
...
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