X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3f76493a3a2331163914bcb7bd575b07c2a79af9..4b0fa756ae6e58a74c374a519389ecb9e8b6a4d9:/include/xbt/random.hpp diff --git a/include/xbt/random.hpp b/include/xbt/random.hpp index d4c612f653..7d4e4ef30b 100644 --- a/include/xbt/random.hpp +++ b/include/xbt/random.hpp @@ -45,7 +45,7 @@ public: /** * @brief Write the state of the Mersenne-Twister RNG to a file */ - bool write_state(const std::string& filename); + bool write_state(const std::string& filename) const; /** * @brief Draws an integer number uniformly in range [min, max] (min and max included)