X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f5e78a43b4bed7bae8304ad12de6e2e555b34db..3209901adbb795996773ad2ee129145c27f22dca:/src/mc/Session.hpp diff --git a/src/mc/Session.hpp b/src/mc/Session.hpp index 3a79387222..ab21a05b71 100644 --- a/src/mc/Session.hpp +++ b/src/mc/Session.hpp @@ -21,7 +21,7 @@ namespace mc { * algorithms should be able to be written in high-level languages * (e.g. Python) using bindings on this interface. */ -class Session { +class XBT_PUBLIC Session { private: std::unique_ptr model_checker_; std::shared_ptr initial_snapshot_; @@ -38,7 +38,7 @@ public: * * The code is expected to `exec` the model-checked application. */ - Session(const std::function& code); + explicit Session(const std::function& code); ~Session(); void close();