diff options
Diffstat (limited to 'Swiften/Base/BoostRandomGenerator.h')
-rw-r--r-- | Swiften/Base/BoostRandomGenerator.h | 25 |
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; - }; -} |