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
2204ccf2
Commit
2204ccf2
authored
Nov 15, 2019
by
Jakob Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert breaking changes
parent
a4cfe5ef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
libcaf_core/caf/detail/delegate_serialize.hpp
libcaf_core/caf/detail/delegate_serialize.hpp
+4
-8
libcaf_core/caf/detail/type_erased_value_impl.hpp
libcaf_core/caf/detail/type_erased_value_impl.hpp
+1
-1
No files found.
libcaf_core/caf/detail/delegate_serialize.hpp
View file @
2204ccf2
...
@@ -32,14 +32,12 @@
...
@@ -32,14 +32,12 @@
#pragma once
#pragma once
#include <utility>
#include <type_traits>
#include <type_traits>
#include <utility>
#include "caf/detail/type_traits.hpp"
#include "caf/detail/type_traits.hpp"
namespace
boost
::
serialization
{}
// namespace boost::serialization
namespace
caf
::
detail
{
namespace
caf
::
detail
{
...
@@ -57,10 +55,8 @@ auto delegate_serialize(Processor& proc, U& x, const unsigned int y = 0)
...
@@ -57,10 +55,8 @@ auto delegate_serialize(Processor& proc, U& x, const unsigned int y = 0)
// ignores anyway.
// ignores anyway.
template
<
class
Processor
,
class
U
>
template
<
class
Processor
,
class
U
>
auto
delegate_serialize
(
Processor
&
proc
,
U
&
x
)
auto
delegate_serialize
(
Processor
&
proc
,
U
&
x
)
->
decltype
(
serialize
(
proc
,
x
))
{
->
decltype
(
serialize
(
proc
,
x
))
{
serialize
(
proc
,
x
);
serialize
(
proc
,
x
);
}
}
}
// namespace caf
}
// namespace caf::detail
libcaf_core/caf/detail/type_erased_value_impl.hpp
View file @
2204ccf2
...
@@ -37,7 +37,7 @@ class type_erased_value_impl : public type_erased_value {
...
@@ -37,7 +37,7 @@ class type_erased_value_impl : public type_erased_value {
public:
public:
// -- member types -----------------------------------------------------------
// -- member types -----------------------------------------------------------
using
value_type
=
typename
std
::
__
strip_reference_wrapper
<
T
>::
type
;
using
value_type
=
typename
detail
::
strip_reference_wrapper
<
T
>::
type
;
// -- constructors, destructors, and assignment operators --------------------
// -- constructors, destructors, and assignment operators --------------------
...
...
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