From 956ae917cd78217d650aa89c3b10deff1569eb88 Mon Sep 17 00:00:00 2001 From: Fred Suter Date: Tue, 23 May 2023 03:56:02 -0400 Subject: [PATCH] try to solve the -Wundefined-var-template thing with clang --- src/s4u/s4u_Activity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s4u/s4u_Activity.cpp b/src/s4u/s4u_Activity.cpp index 159ac3ece0..d9c236accd 100644 --- a/src/s4u/s4u_Activity.cpp +++ b/src/s4u/s4u_Activity.cpp @@ -27,7 +27,7 @@ namespace s4u { xbt::signal Activity::on_veto; xbt::signal Activity::on_suspended; xbt::signal Activity::on_resumed; -template xbt::signal Activity_T::on_completion; +template extern xbt::signal Activity_T::on_completion; std::set* Activity::vetoed_activities_ = nullptr; -- 2.20.1