summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoanna Hulboj <joanna.hulboj@isode.com>2017-03-29 12:43:50 (GMT)
committerTobias Markmann <tm@ayena.de>2017-03-31 09:31:21 (GMT)
commit613d66b9847e9e4338a37b22b230d3177872a43c (patch)
treef8412cb315bb273e6a6d6e3e1a63b803a6aad3a9 /Swiften/Base/BoostRandomGenerator.h
parent7663ca75731c4313dddbcde4d85f10383644a67a (diff)
downloadswift-613d66b9847e9e4338a37b22b230d3177872a43c.zip
swift-613d66b9847e9e4338a37b22b230d3177872a43c.tar.bz2
Use std::random instead of boost::random
Test-Infotmation: Unit tests pass OK. Change-Id: I1b6d3711d97daa86cccbb44aecb1b4025f2fcc8a
Diffstat (limited to 'Swiften/Base/BoostRandomGenerator.h')
-rw-r--r--Swiften/Base/BoostRandomGenerator.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/Swiften/Base/BoostRandomGenerator.h b/Swiften/Base/BoostRandomGenerator.h
deleted file mode 100644
index ff715c3..0000000
--- a/Swiften/Base/BoostRandomGenerator.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (c) 2012-2016 Isode Limited.
- * All rights reserved.
- * See the COPYING file for more information.
- */
-
-#pragma once
-
-#include <boost/random/mersenne_twister.hpp>
-
-#include <Swiften/Base/API.h>
-#include <Swiften/Base/Override.h>
-#include <Swiften/Base/RandomGenerator.h>
-
-namespace Swift {
- class SWIFTEN_API BoostRandomGenerator : public RandomGenerator {
- public:
- BoostRandomGenerator();
-
- int generateRandomInteger(int max) SWIFTEN_OVERRIDE;
-
- private:
- boost::mt19937 generator;
- };
-}