X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/55a08c7439db5b0335a5b26e40b3a46e1e03d3e8..be2d18ff8c8ee4ccf6b713010f8999e7613dcdf5:/include/xbt/random.hpp diff --git a/include/xbt/random.hpp b/include/xbt/random.hpp index 7d4e4ef30b..b8a2474854 100644 --- a/include/xbt/random.hpp +++ b/include/xbt/random.hpp @@ -85,8 +85,7 @@ public: */ class XBT_PUBLIC StdRandom : public Random { public: - StdRandom() = default; - explicit StdRandom(int seed) : Random(seed) {} + using Random::Random; int uniform_int(int min, int max) override; double uniform_real(double min, double max) override; @@ -100,8 +99,7 @@ public: */ class XBT_PUBLIC XbtRandom : public Random { public: - XbtRandom() = default; - explicit XbtRandom(int seed) : Random(seed) {} + using Random::Random; int uniform_int(int min, int max) override; double uniform_real(double min, double max) override;