Commit 6c3a8c43 authored by neverlord's avatar neverlord

reformatting

parent ef061e14
...@@ -35,24 +35,15 @@ ...@@ -35,24 +35,15 @@
#include "cppa/exit_reason.hpp" #include "cppa/exit_reason.hpp"
#include "cppa/detail/mailman.hpp" #include "cppa/detail/mailman.hpp"
namespace {
inline constexpr std::uint64_t to_int(cppa::atom_value value)
{
return static_cast<std::uint64_t>(value);
}
} // namespace <anonymous>
namespace cppa { namespace cppa {
actor_proxy::actor_proxy(std::uint32_t mid, const process_information_ptr& pptr) actor_proxy::actor_proxy(std::uint32_t mid, process_information_ptr const& pptr)
: super(mid, pptr) : super(mid, pptr)
{ {
attach(get_scheduler()->register_hidden_context()); attach(get_scheduler()->register_hidden_context());
} }
void actor_proxy::forward_message(const process_information_ptr& piptr, void actor_proxy::forward_message(process_information_ptr const& piptr,
actor* sender, actor* sender,
any_tuple&& msg) any_tuple&& msg)
{ {
......
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