From 7c6dbbace82c3bc6f359a03dde46b677fa1efaaf Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 10 Jan 2016 01:32:20 +0100 Subject: [PATCH] mark simix::Context as public to please windows --- include/simgrid/simix.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/simgrid/simix.hpp b/include/simgrid/simix.hpp index 3b6b9a2326..2f19728b8d 100644 --- a/include/simgrid/simix.hpp +++ b/include/simgrid/simix.hpp @@ -82,7 +82,7 @@ typename std::result_of::type kernel(F&& code) class Context; class ContextFactory; -class ContextFactory { +XBT_PUBLIC_CLASS ContextFactory { private: std::string name_; public: @@ -109,7 +109,7 @@ protected: } }; -class Context { +XBT_PUBLIC_CLASS Context { private: std::function code_; void_pfn_smxprocess_t cleanup_func_ = nullptr; @@ -146,4 +146,4 @@ public: } } -#endif \ No newline at end of file +#endif -- 2.20.1