mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Remove dependency on boost::random, since that is now in std
This commit is contained in:
+3
-3
@@ -12,8 +12,8 @@
|
||||
#include <util/prec.hpp>
|
||||
#include <util/reflect.hpp>
|
||||
#include <script/scriptable.hpp>
|
||||
#include <boost/random/mersenne_twister.hpp>
|
||||
#include <boost/logic/tribool.hpp>
|
||||
#include <random>
|
||||
using boost::tribool;
|
||||
|
||||
DECLARE_POINTER_TYPE(PackType);
|
||||
@@ -137,8 +137,8 @@ class PackGenerator {
|
||||
void update_card_counts();
|
||||
|
||||
// only for PackInstance
|
||||
SetP set; ///< The set
|
||||
boost::mt19937 gen; ///< Random generator
|
||||
SetP set; ///< The set
|
||||
mt19937 gen; ///< Random generator
|
||||
private:
|
||||
/// Details for each PackType
|
||||
map<String,PackInstanceP> instances;
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <data/pack.hpp>
|
||||
#include <data/settings.hpp>
|
||||
#include <util/window_id.hpp>
|
||||
#include <boost/random/mersenne_twister.hpp>
|
||||
#include <wx/spinctrl.h>
|
||||
#include <wx/dcbuffer.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user