about summary refs log tree commit diff stats
path: root/Source/Random.cpp
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-11-07 08:41:20 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2018-11-07 08:41:20 -0800
commite762e48d6fbab7bd5137c369fa49df25ccd5369d (patch)
treeef457564aff53d1880531c3f24d7da301988b2d8 /Source/Random.cpp
parent1cad9871174728c15abbdb71ee5cbe2cf03ccf0c (diff)
downloadwitness-tutorializer-e762e48d6fbab7bd5137c369fa49df25ccd5369d.tar.gz
witness-tutorializer-e762e48d6fbab7bd5137c369fa49df25ccd5369d.tar.bz2
witness-tutorializer-e762e48d6fbab7bd5137c369fa49df25ccd5369d.zip
Warnings clean because fml
Diffstat (limited to 'Source/Random.cpp')
-rw-r--r--Source/Random.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Random.cpp b/Source/Random.cpp index d8f5eb2..d6e86a6 100644 --- a/Source/Random.cpp +++ b/Source/Random.cpp
@@ -1,7 +1,7 @@
1#include <chrono> 1#include <chrono>
2#include "Random.h" 2#include "Random.h"
3 3
4int Random::s_seed = time(nullptr); // Seed from the time in milliseconds 4int Random::s_seed = static_cast<int>(time(nullptr)); // Seed from the time in milliseconds
5 5
6void Random::SetSeed(int seed) { 6void Random::SetSeed(int seed) {
7 s_seed = seed; 7 s_seed = seed;