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
19df48ec
Commit
19df48ec
authored
Nov 04, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings
parent
e000a6c4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
examples/curl/curl_fuse.cpp
examples/curl/curl_fuse.cpp
+4
-4
libcaf_core/caf/uniform_type_info.hpp
libcaf_core/caf/uniform_type_info.hpp
+4
-4
libcaf_core/src/message.cpp
libcaf_core/src/message.cpp
+1
-1
libcaf_io/caf/io/broker_servant.hpp
libcaf_io/caf/io/broker_servant.hpp
+1
-1
No files found.
examples/curl/curl_fuse.cpp
View file @
19df48ec
...
...
@@ -148,8 +148,8 @@ behavior client_job(stateful_actor<base_state>* self, actor parent) {
}
struct
client_state
:
base_state
{
client_state
(
local_actor
*
self
)
:
base_state
(
self
),
client_state
(
local_actor
*
self
ptr
)
:
base_state
(
self
ptr
),
count
(
0
),
re
(
rd
()),
dist
(
min_req_interval
,
max_req_interval
)
{
...
...
@@ -184,7 +184,7 @@ behavior client(stateful_actor<client_state>* self, actor parent) {
}
struct
curl_state
:
base_state
{
curl_state
(
local_actor
*
self
)
:
base_state
(
self
)
{
curl_state
(
local_actor
*
self
ptr
)
:
base_state
(
selfptr
)
{
// nop
}
...
...
@@ -276,7 +276,7 @@ behavior curl_worker(stateful_actor<curl_state>* self, actor parent) {
}
struct
master_state
:
base_state
{
master_state
(
local_actor
*
self
)
:
base_state
(
self
)
{
master_state
(
local_actor
*
self
ptr
)
:
base_state
(
selfptr
)
{
// nop
}
std
::
vector
<
actor
>
idle
;
...
...
libcaf_core/caf/uniform_type_info.hpp
View file @
19df48ec
...
...
@@ -79,9 +79,9 @@ public:
// nop
}
uniform_value_impl
(
const
uniform_type_info
*
ptr
,
const
T
(
&
val
)[
N
])
uniform_value_impl
(
const
uniform_type_info
*
ptr
,
const
T
(
&
val
s
)[
N
])
:
uniform_value_t
(
ptr
,
&
value_
)
{
array_copy
(
value_
,
val
);
array_copy
(
value_
,
val
s
);
}
uniform_value
copy
()
override
{
...
...
@@ -96,13 +96,13 @@ private:
array_copy
(
lhs
[
i
],
rhs
[
i
]);
}
}
template
<
class
U
,
size_t
Len
>
static
void
array_copy_impl
(
U
(
&
lhs
)[
Len
],
const
U
(
&
rhs
)[
Len
],
std
::
false_type
)
{
std
::
copy
(
rhs
,
rhs
+
Len
,
lhs
);
}
template
<
class
U
,
size_t
Len
>
static
void
array_copy
(
U
(
&
lhs
)[
Len
],
const
U
(
&
rhs
)[
Len
])
{
array_copy_impl
(
lhs
,
rhs
,
...
...
libcaf_core/src/message.cpp
View file @
19df48ec
...
...
@@ -340,7 +340,7 @@ message::cli_arg::cli_arg(std::string nstr, std::string tstr)
// nop
}
message
::
cli_arg
::
cli_arg
(
std
::
string
n
ame
,
std
::
string
text
,
consumer
f
)
message
::
cli_arg
::
cli_arg
(
std
::
string
n
str
,
std
::
string
tstr
,
consumer
f
)
:
name
(
std
::
move
(
name
)),
text
(
std
::
move
(
text
)),
fun
(
std
::
move
(
f
))
{
...
...
libcaf_io/caf/io/broker_servant.hpp
View file @
19df48ec
...
...
@@ -33,7 +33,7 @@ namespace io {
template
<
class
Base
,
class
Handle
,
class
SysMsgType
>
class
broker_servant
:
public
Base
{
public:
broker_servant
(
abstract_broker
*
ptr
,
Handle
hdl
)
:
Base
(
ptr
),
hdl_
(
hdl
)
{
broker_servant
(
abstract_broker
*
ptr
,
Handle
x
)
:
Base
(
ptr
),
hdl_
(
x
)
{
// nop
}
...
...
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