diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-04-23 16:11:21 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-04-23 16:11:21 (GMT) |
commit | 7bd058600b682781abb3fd93bfaf516e7d8d7b23 (patch) | |
tree | 56ee7619b3785ff09a15ffdb54ac6427cd052dbf /Swiften/Base/RandomGenerator.h | |
parent | 00981790bc39e9a0674feec19ffa792329bb077c (diff) | |
download | swift-contrib-7bd058600b682781abb3fd93bfaf516e7d8d7b23.zip swift-contrib-7bd058600b682781abb3fd93bfaf516e7d8d7b23.tar.bz2 |
Another fix for SRV selection.
Diffstat (limited to 'Swiften/Base/RandomGenerator.h')
-rw-r--r-- | Swiften/Base/RandomGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Base/RandomGenerator.h b/Swiften/Base/RandomGenerator.h index a998e0d..4a3550d 100644 --- a/Swiften/Base/RandomGenerator.h +++ b/Swiften/Base/RandomGenerator.h @@ -13,6 +13,6 @@ namespace Swift { public: virtual ~RandomGenerator(); - virtual int generateWeighedRandomNumber(std::vector<double>::const_iterator probabilities_begin, std::vector<double>::const_iterator probabilities_end) = 0; + virtual int generateRandomInteger(int max) = 0; }; } |