summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-04-23 16:11:21 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-23 16:11:21 (GMT)
commit7bd058600b682781abb3fd93bfaf516e7d8d7b23 (patch)
tree56ee7619b3785ff09a15ffdb54ac6427cd052dbf /Swiften/Base/BoostRandomGenerator.h
parent00981790bc39e9a0674feec19ffa792329bb077c (diff)
downloadswift-contrib-7bd058600b682781abb3fd93bfaf516e7d8d7b23.zip
swift-contrib-7bd058600b682781abb3fd93bfaf516e7d8d7b23.tar.bz2
Another fix for SRV selection.
Diffstat (limited to 'Swiften/Base/BoostRandomGenerator.h')
-rw-r--r--Swiften/Base/BoostRandomGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Base/BoostRandomGenerator.h b/Swiften/Base/BoostRandomGenerator.h
index ffc7a72..6d65b0b 100644
--- a/Swiften/Base/BoostRandomGenerator.h
+++ b/Swiften/Base/BoostRandomGenerator.h
@@ -13,7 +13,7 @@
namespace Swift {
class BoostRandomGenerator : public RandomGenerator{
public:
- int generateWeighedRandomNumber(std::vector<double>::const_iterator probabilities_begin, std::vector<double>::const_iterator probabilities_end);
+ int generateRandomInteger(int max);
private:
boost::mt19937 generator;