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
243e9b68
Commit
243e9b68
authored
Jul 28, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings on GCC
parent
f552d18e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
libcaf_core/caf/config.hpp
libcaf_core/caf/config.hpp
+5
-2
libcaf_core/caf/response_promise.hpp
libcaf_core/caf/response_promise.hpp
+0
-4
libcaf_io/src/basp.cpp
libcaf_io/src/basp.cpp
+4
-2
No files found.
libcaf_core/caf/config.hpp
View file @
243e9b68
...
...
@@ -105,8 +105,11 @@
# define CAF_GCC
# define CAF_DEPRECATED __attribute__((__deprecated__))
# define CAF_PUSH_WARNINGS
# define CAF_PUSH_NON_VIRTUAL_DTOR_WARNING
# define CAF_POP_WARNINGS
# define CAF_PUSH_NON_VIRTUAL_DTOR_WARNING \
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"")
# define CAF_POP_WARNINGS \
_Pragma("GCC diagnostic pop")
# define CAF_ANNOTATE_FALLTHROUGH static_cast<void>(0)
# define CAF_COMPILER_VERSION \
(__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
...
...
libcaf_core/caf/response_promise.hpp
View file @
243e9b68
...
...
@@ -51,10 +51,6 @@ public:
/// Sends `response_message` and invalidates this handle afterwards.
void
deliver
(
message
response_message
)
const
;
actor_addr
&
to
()
{
return
to_
;
}
private:
actor_addr
from_
;
actor_addr
to_
;
...
...
libcaf_io/src/basp.cpp
View file @
243e9b68
...
...
@@ -71,8 +71,10 @@ std::string to_string(const header &hdr) {
}
void
read_hdr
(
deserializer
&
source
,
header
&
hdr
)
{
source
.
read
(
reinterpret_cast
<
uint32_t
&>
(
hdr
.
operation
))
.
read
(
hdr
.
payload_len
)
uint32_t
operation
;
source
.
read
(
operation
);
hdr
.
operation
=
static_cast
<
basp
::
message_type
>
(
operation
);
source
.
read
(
hdr
.
payload_len
)
.
read
(
hdr
.
operation_data
);
hdr
.
source_node
.
deserialize
(
source
);
hdr
.
dest_node
.
deserialize
(
source
);
...
...
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