1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Fix -Wc++11-extensions warning after #26737

Fixes #26769.
This commit is contained in:
Rémi Verschelde
2019-03-07 22:45:47 +01:00
parent 91fb807088
commit bce56cf337
2 changed files with 3 additions and 2 deletions

View File

@@ -33,7 +33,8 @@
#include "core/os/os.h"
RandomPCG::RandomPCG(uint64_t p_seed, uint64_t p_inc) :
pcg() {
pcg(),
current_seed(DEFAULT_SEED) {
pcg.inc = p_inc;
seed(p_seed);
}