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
47903d5f
Commit
47903d5f
authored
Jan 19, 2021
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix LGTM warnings
parent
99d1af2b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
.lgtm.yml
.lgtm.yml
+5
-0
libcaf_core/caf/unit.hpp
libcaf_core/caf/unit.hpp
+2
-0
libcaf_core/src/blocking_actor.cpp
libcaf_core/src/blocking_actor.cpp
+2
-2
No files found.
.lgtm.yml
0 → 100644
View file @
47903d5f
# LGTM file format: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
# Disable noisy/false alerts.
queries
:
-
exclude
:
cpp/use-of-goto
libcaf_core/caf/unit.hpp
View file @
47903d5f
...
@@ -18,6 +18,8 @@ struct unit_t : detail::comparable<unit_t> {
...
@@ -18,6 +18,8 @@ struct unit_t : detail::comparable<unit_t> {
constexpr
unit_t
(
const
unit_t
&
)
noexcept
=
default
;
constexpr
unit_t
(
const
unit_t
&
)
noexcept
=
default
;
constexpr
unit_t
&
operator
=
(
const
unit_t
&
)
noexcept
=
default
;
template
<
class
T
>
template
<
class
T
>
explicit
constexpr
unit_t
(
T
&&
)
noexcept
{
explicit
constexpr
unit_t
(
T
&&
)
noexcept
{
// nop
// nop
...
...
libcaf_core/src/blocking_actor.cpp
View file @
47903d5f
...
@@ -108,8 +108,8 @@ void blocking_actor::launch(execution_unit*, bool, bool hide) {
...
@@ -108,8 +108,8 @@ void blocking_actor::launch(execution_unit*, bool, bool hide) {
self
->
act
();
self
->
act
();
rsn
=
self
->
fail_state_
;
rsn
=
self
->
fail_state_
;
}
catch
(...)
{
}
catch
(...)
{
auto
ptr
=
std
::
current_exception
();
auto
e
ptr
=
std
::
current_exception
();
rsn
=
scheduled_actor
::
default_exception_handler
(
self
,
ptr
);
rsn
=
scheduled_actor
::
default_exception_handler
(
self
,
e
ptr
);
}
}
try
{
try
{
self
->
on_exit
();
self
->
on_exit
();
...
...
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