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
447b1d98
Commit
447b1d98
authored
Feb 26, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some warnings/errors on GCC
parent
7063e61e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
libcaf_core/caf/detail/behavior_impl.hpp
libcaf_core/caf/detail/behavior_impl.hpp
+1
-1
libcaf_core/caf/detail/message_data.hpp
libcaf_core/caf/detail/message_data.hpp
+0
-5
libcaf_core/caf/type_id.hpp
libcaf_core/caf/type_id.hpp
+1
-1
No files found.
libcaf_core/caf/detail/behavior_impl.hpp
View file @
447b1d98
...
...
@@ -142,7 +142,7 @@ public:
if
(
arg_types
==
msg
.
types
())
{
typename
trait
::
message_view_type
xs
{
msg
};
using
fun_result
=
decltype
(
detail
::
apply_args
(
fun
,
xs
));
if
constexpr
(
std
::
is_same
_v
<
void
,
fun_result
>
)
{
if
constexpr
(
std
::
is_same
<
void
,
fun_result
>::
value
)
{
detail
::
apply_args
(
fun
,
xs
);
result
=
f
.
visit
(
unit
)
?
match_result
::
match
:
match_result
::
skip
;
}
else
{
...
...
libcaf_core/caf/detail/message_data.hpp
View file @
447b1d98
...
...
@@ -32,9 +32,6 @@
#ifdef CAF_CLANG
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wc99-extensions"
#elif defined(CAF_GCC)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wc99-extensions"
#endif
namespace
caf
::
detail
{
...
...
@@ -155,6 +152,4 @@ void message_data_init(byte* storage, T&& x, Ts&&... xs) {
#ifdef CAF_CLANG
# pragma clang diagnostic pop
#elif defined(CAF_GCC)
# pragma GCC diagnostic pop
#endif
libcaf_core/caf/type_id.hpp
View file @
447b1d98
...
...
@@ -113,7 +113,7 @@ constexpr type_id_t first_custom_type_id = 200;
}; \
template <> \
struct type_name<CAF_PP_EXPAND fully_qualified_name> { \
[[maybe_unused]] static constexpr const char* value
\
static constexpr const char* value
\
= CAF_PP_STR(CAF_PP_EXPAND fully_qualified_name); \
}; \
template <> \
...
...
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