diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-04-23 16:23:05 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-04-23 16:23:05 (GMT) |
commit | 8e6a76a58c56d0d045e6b2b720fbc35d2e72d2f2 (patch) | |
tree | c7cbef09af4e36ddd5c82491169dbc14db8842b1 /Swiften/Base/BoostRandomGenerator.h | |
parent | 7bd058600b682781abb3fd93bfaf516e7d8d7b23 (diff) | |
download | swift-contrib-8e6a76a58c56d0d045e6b2b720fbc35d2e72d2f2.zip swift-contrib-8e6a76a58c56d0d045e6b2b720fbc35d2e72d2f2.tar.bz2 |
Seed the random number generator.
Diffstat (limited to 'Swiften/Base/BoostRandomGenerator.h')
-rw-r--r-- | Swiften/Base/BoostRandomGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Base/BoostRandomGenerator.h b/Swiften/Base/BoostRandomGenerator.h index 6d65b0b..b5a6cac 100644 --- a/Swiften/Base/BoostRandomGenerator.h +++ b/Swiften/Base/BoostRandomGenerator.h @@ -13,6 +13,8 @@ namespace Swift { class BoostRandomGenerator : public RandomGenerator{ public: + BoostRandomGenerator(); + int generateRandomInteger(int max); private: |