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
10a157f0
Commit
10a157f0
authored
Aug 05, 2023
by
Samir Halilcevic
Committed by
Dominik Charousset
Aug 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings on Linux
parent
64fa6b01
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
7 deletions
+9
-7
examples/custom_type/custom_types_4.cpp
examples/custom_type/custom_types_4.cpp
+1
-1
libcaf_core/caf/async/blocking_consumer.hpp
libcaf_core/caf/async/blocking_consumer.hpp
+2
-1
libcaf_core/caf/detail/functor_attachable.hpp
libcaf_core/caf/detail/functor_attachable.hpp
+2
-1
libcaf_core/caf/detail/make_meta_object.hpp
libcaf_core/caf/detail/make_meta_object.hpp
+1
-1
libcaf_core/tests/legacy/scheduled_actor.cpp
libcaf_core/tests/legacy/scheduled_actor.cpp
+1
-1
libcaf_net/tests/legacy/net/web_socket/framing.cpp
libcaf_net/tests/legacy/net/web_socket/framing.cpp
+2
-2
No files found.
examples/custom_type/custom_types_4.cpp
View file @
10a157f0
...
...
@@ -172,7 +172,7 @@ struct variant_inspector_traits<shape_ptr> {
// Assigns a value to x.
template
<
class
U
>
static
void
assign
(
value_type
&
x
,
U
value
)
{
static
void
assign
(
value_type
&
x
,
[[
maybe_unused
]]
U
value
)
{
if
constexpr
(
std
::
is_same_v
<
U
,
none_t
>
)
x
.
reset
();
else
...
...
libcaf_core/caf/async/blocking_consumer.hpp
View file @
10a157f0
...
...
@@ -32,7 +32,8 @@ public:
}
template
<
class
ErrorPolicy
,
class
TimePoint
>
read_result
pull
(
ErrorPolicy
policy
,
T
&
item
,
TimePoint
timeout
)
{
read_result
pull
(
ErrorPolicy
policy
,
T
&
item
,
[[
maybe_unused
]]
TimePoint
timeout
)
{
if
(
!
buf_
)
{
return
abort_reason_
?
read_result
::
abort
:
read_result
::
stop
;
}
...
...
libcaf_core/caf/detail/functor_attachable.hpp
View file @
10a157f0
...
...
@@ -22,7 +22,8 @@ public:
// nop
}
void
actor_exited
(
const
error
&
fail_state
,
execution_unit
*
host
)
override
{
void
actor_exited
(
const
error
&
fail_state
,
[[
maybe_unused
]]
execution_unit
*
host
)
override
{
if
constexpr
(
num_args
==
0
)
fn_
();
else
if
constexpr
(
num_args
==
1
)
...
...
libcaf_core/caf/detail/make_meta_object.hpp
View file @
10a157f0
...
...
@@ -56,7 +56,7 @@ bool load(deserializer& source, void* ptr) {
}
template
<
class
T
>
void
stringify
(
std
::
string
&
buf
,
const
void
*
ptr
)
{
void
stringify
(
std
::
string
&
buf
,
[[
maybe_unused
]]
const
void
*
ptr
)
{
if
constexpr
(
is_allowed_unsafe_message_type_v
<
T
>
)
{
auto
tn
=
type_name_v
<
T
>
;
buf
.
insert
(
buf
.
end
(),
tn
.
begin
(),
tn
.
end
());
...
...
libcaf_core/tests/legacy/scheduled_actor.cpp
View file @
10a157f0
...
...
@@ -12,7 +12,7 @@ using namespace caf;
#define ASSERT_COMPILES(expr, msg) \
static_assert( \
std::is_void_v<decltype(std::declval<scheduled_actor*>()->expr)>, msg)
;
std::is_void_v<decltype(std::declval<scheduled_actor*>()->expr)>, msg)
namespace
{
...
...
libcaf_net/tests/legacy/net/web_socket/framing.cpp
View file @
10a157f0
...
...
@@ -420,7 +420,7 @@ struct rejecting_fixture {
}
// namespace
BEGIN_FIXTURE_SCOPE
(
rejecting_fixture
)
;
BEGIN_FIXTURE_SCOPE
(
rejecting_fixture
)
SCENARIO
(
"apps can return errors to shut down the framing layer"
)
{
GIVEN
(
"an app that returns -1 for any frame it receives"
)
{
...
...
@@ -612,7 +612,7 @@ SCENARIO("the application shuts down on invalid frame fragments") {
}
}
END_FIXTURE_SCOPE
()
;
END_FIXTURE_SCOPE
()
TEST_CASE
(
"empty closing payload is valid"
)
{
auto
error
...
...
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