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
ee28c77a
Commit
ee28c77a
authored
Jul 06, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ufownl-topic/fix_typed_response_promise' into develop
parents
1028e5b6
a6fad679
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
libcaf_core/caf/detail/ctm.hpp
libcaf_core/caf/detail/ctm.hpp
+3
-3
libcaf_core/caf/typed_response_promise.hpp
libcaf_core/caf/typed_response_promise.hpp
+3
-3
libcaf_io/CMakeLists.txt
libcaf_io/CMakeLists.txt
+1
-0
No files found.
libcaf_core/caf/detail/ctm.hpp
View file @
ee28c77a
...
@@ -60,9 +60,9 @@ struct ctm_cmp<typed_mpi<In, Out, empty_type_list>,
...
@@ -60,9 +60,9 @@ struct ctm_cmp<typed_mpi<In, Out, empty_type_list>,
typed_mpi
<
In
,
type_list
<
typed_continue_helper
<
Out
>>
,
empty_type_list
>>
typed_mpi
<
In
,
type_list
<
typed_continue_helper
<
Out
>>
,
empty_type_list
>>
:
std
::
true_type
{
};
:
std
::
true_type
{
};
template
<
class
In
,
class
Out
>
template
<
class
In
,
class
...
Ts
>
struct
ctm_cmp
<
typed_mpi
<
In
,
Out
,
empty_type_list
>
,
struct
ctm_cmp
<
typed_mpi
<
In
,
type_list
<
Ts
...
>
,
empty_type_list
>
,
typed_mpi
<
In
,
type_list
<
typed_response_promise
<
Out
>>
,
empty_type_list
>>
typed_mpi
<
In
,
type_list
<
typed_response_promise
<
Ts
...
>>
,
empty_type_list
>>
:
std
::
true_type
{
};
:
std
::
true_type
{
};
template
<
class
In
,
class
L
,
class
R
>
template
<
class
In
,
class
L
,
class
R
>
...
...
libcaf_core/caf/typed_response_promise.hpp
View file @
ee28c77a
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
namespace
caf
{
namespace
caf
{
template
<
class
T
>
template
<
class
...
Ts
>
class
typed_response_promise
{
class
typed_response_promise
{
public:
public:
typed_response_promise
(
response_promise
promise
)
:
promise_
(
promise
)
{
typed_response_promise
(
response_promise
promise
)
:
promise_
(
promise
)
{
...
@@ -37,8 +37,8 @@ public:
...
@@ -37,8 +37,8 @@ public:
return
static_cast
<
bool
>
(
promise_
);
return
static_cast
<
bool
>
(
promise_
);
}
}
void
deliver
(
T
what
)
const
{
void
deliver
(
T
s
...
what
)
const
{
promise_
.
deliver
(
make_message
(
std
::
move
(
what
)));
promise_
.
deliver
(
make_message
(
std
::
move
(
what
)
...
));
}
}
...
...
libcaf_io/CMakeLists.txt
View file @
ee28c77a
...
@@ -46,6 +46,7 @@ endif ()
...
@@ -46,6 +46,7 @@ endif ()
# build static library only if --build-static or --build-static-only was set
# build static library only if --build-static or --build-static-only was set
if
(
CAF_BUILD_STATIC_ONLY OR CAF_BUILD_STATIC
)
if
(
CAF_BUILD_STATIC_ONLY OR CAF_BUILD_STATIC
)
add_library
(
libcaf_io_static STATIC
${
LIBCAF_IO_HDRS
}
${
LIBCAF_IO_SRCS
}
)
add_library
(
libcaf_io_static STATIC
${
LIBCAF_IO_HDRS
}
${
LIBCAF_IO_SRCS
}
)
target_link_libraries
(
libcaf_io_static
${
LD_FLAGS
}
${
LIBCAF_CORE_LIBRARY
}
)
set_target_properties
(
libcaf_io_static PROPERTIES OUTPUT_NAME caf_io_static
)
set_target_properties
(
libcaf_io_static PROPERTIES OUTPUT_NAME caf_io_static
)
if
(
NOT WIN32
)
if
(
NOT WIN32
)
install
(
TARGETS libcaf_io_static ARCHIVE DESTINATION lib
)
install
(
TARGETS libcaf_io_static ARCHIVE DESTINATION lib
)
...
...
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