Commit 89e93c71 authored by Dominik Charousset's avatar Dominik Charousset

work around annoying GCC bug w/ friend declaration

parent 95724bd5
......@@ -92,7 +92,7 @@ class abstract_actor_base<Base, true> : public Base {
template<class Base>
class abstract_actor : public abstract_actor_base<Base, std::is_base_of<local_actor, Base>::value> {
friend class self_type;
friend class ::cppa::self_type;
typedef abstract_actor_base<Base, std::is_base_of<local_actor, Base>::value> super;
typedef std::lock_guard<std::mutex> guard_type;
......
......@@ -36,7 +36,6 @@
#include <cstdint>
#include <functional>
#include "cppa/self.hpp"
#include "cppa/atom.hpp"
#include "cppa/actor.hpp"
#include "cppa/channel.hpp"
......@@ -49,6 +48,7 @@
namespace cppa {
class self_type;
class scheduled_actor;
class scheduler_helper;
......
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