Commit 2204ccf2 authored by Jakob Otto's avatar Jakob Otto

Revert breaking changes

parent a4cfe5ef
......@@ -32,14 +32,12 @@
#pragma once
#include <utility>
#include <type_traits>
#include <utility>
#include "caf/detail/type_traits.hpp"
namespace boost::serialization {} // namespace boost::serialization
namespace caf::detail {
......@@ -57,10 +55,8 @@ auto delegate_serialize(Processor& proc, U& x, const unsigned int y = 0)
// ignores anyway.
template <class Processor, class U>
auto delegate_serialize(Processor& proc, U& x)
-> decltype(serialize(proc, x)) {
auto delegate_serialize(Processor& proc, U& x) -> decltype(serialize(proc, x)) {
serialize(proc, x);
}
} // namespace caf
} // namespace caf::detail
......@@ -37,7 +37,7 @@ class type_erased_value_impl : public type_erased_value {
public:
// -- 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 --------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment