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
0f810ffb
Commit
0f810ffb
authored
Jun 22, 2016
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix several warnings on Clang
parent
66057553
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
libcaf_core/caf/expected.hpp
libcaf_core/caf/expected.hpp
+1
-1
libcaf_core/src/abstract_coordinator.cpp
libcaf_core/src/abstract_coordinator.cpp
+4
-3
libcaf_core/src/actor_registry.cpp
libcaf_core/src/actor_registry.cpp
+1
-1
libcaf_io/src/middleman.cpp
libcaf_io/src/middleman.cpp
+1
-1
libcaf_python
libcaf_python
+1
-1
No files found.
libcaf_core/caf/expected.hpp
View file @
0f810ffb
...
...
@@ -33,7 +33,7 @@ namespace caf {
/// Represents the result of a computation which can either complete
/// successfully with an instance of type `T` or fail with an `error`.
/// @tparam The type of the result.
/// @tparam T
T
he type of the result.
template
<
typename
T
>
class
expected
{
public:
...
...
libcaf_core/src/abstract_coordinator.cpp
View file @
0f810ffb
...
...
@@ -351,11 +351,11 @@ abstract_coordinator::abstract_coordinator(actor_system& sys)
void
abstract_coordinator
::
cleanup_and_release
(
resumable
*
ptr
)
{
class
dummy_unit
:
public
execution_unit
{
public:
dummy_unit
(
local_actor
*
ptr
)
:
execution_unit
(
&
ptr
->
home_system
())
{
dummy_unit
(
local_actor
*
job
)
:
execution_unit
(
&
job
->
home_system
())
{
// nop
}
void
exec_later
(
resumable
*
ptr
)
override
{
resumables
.
push_back
(
ptr
);
void
exec_later
(
resumable
*
job
)
override
{
resumables
.
push_back
(
job
);
}
std
::
vector
<
resumable
*>
resumables
;
};
...
...
@@ -373,6 +373,7 @@ void abstract_coordinator::cleanup_and_release(resumable* ptr) {
case
resumable
:
:
io_actor
:
{
auto
dsub
=
static_cast
<
local_actor
*>
(
sub
);
dsub
->
cleanup
(
make_error
(
exit_reason
::
user_shutdown
),
&
dummy
);
break
;
}
default:
break
;
...
...
libcaf_core/src/actor_registry.cpp
View file @
0f810ffb
...
...
@@ -89,7 +89,7 @@ void actor_registry::erase(actor_id key) {
}
void
actor_registry
::
inc_running
()
{
# if defined(CAF_LOG_LEVEL) && CAF_LOG_LEVEL >= CAF_DEBUG
# if defined(CAF_LOG_LEVEL) && CAF_LOG_LEVEL >= CAF_
LOG_LEVEL_
DEBUG
auto
value
=
++
running_
;
CAF_LOG_DEBUG
(
CAF_ARG
(
value
));
# else
...
...
libcaf_io/src/middleman.cpp
View file @
0f810ffb
...
...
@@ -262,7 +262,7 @@ strong_actor_ptr middleman::remote_lookup(atom_value name, const node_id& nid) {
// nop
}
);
}
catch
(
std
::
exception
&
e
)
{
}
catch
(
std
::
exception
&
)
{
// nop
}
return
result
;
...
...
libcaf_python
@
6d0fec16
Subproject commit
14b4464a72dd7b28754a300bfefb21a1883501b9
Subproject commit
6d0fec16d9b1d78011077d71917aa902d9a7c5d5
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