From db914251015581b3d89d91acdc3984256e5d13eb Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 24 Jan 2018 13:18:03 +0100 Subject: [PATCH] move that declaration to the right location --- src/s4u/s4u_actor.cpp | 2 ++ src/simix/ActorImpl.cpp | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/s4u/s4u_actor.cpp b/src/s4u/s4u_actor.cpp index c4c9f792aa..5e07894d8d 100644 --- a/src/s4u/s4u_actor.cpp +++ b/src/s4u/s4u_actor.cpp @@ -21,6 +21,8 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_actor, "S4U actors"); namespace simgrid { namespace s4u { +simgrid::xbt::signal s4u::Actor::onCreation; + // ***** Actor creation ***** ActorPtr Actor::self() { diff --git a/src/simix/ActorImpl.cpp b/src/simix/ActorImpl.cpp index 94dfdaffa4..d14628a5bb 100644 --- a/src/simix/ActorImpl.cpp +++ b/src/simix/ActorImpl.cpp @@ -146,9 +146,6 @@ void SIMIX_process_empty_trash() namespace simgrid { -namespace s4u { -simgrid::xbt::signal s4u::Actor::onCreation; // TODO cheinrich is this the right location here? -} namespace simix { ActorImpl::~ActorImpl() -- 2.20.1