fix: marked simulation::living as static since it's no longer forward declared
This commit is contained in:
parent
d1eb5f5b91
commit
decad20b2f
|
|
@ -1,15 +1,15 @@
|
||||||
#include "simulation.h"
|
#include "simulation.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include <cstdint>
|
|
||||||
#include <ranges>
|
|
||||||
#include <random>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <clay/clay.h>
|
|
||||||
#include <SDL3/SDL_log.h>
|
#include <SDL3/SDL_log.h>
|
||||||
#include <SDL3/SDL_render.h>
|
#include <SDL3/SDL_render.h>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <clay/clay.h>
|
||||||
|
#include <cstdint>
|
||||||
|
#include <set>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
namespace simulation {
|
namespace simulation {
|
||||||
std::set<Cell> living{};
|
static std::set<Cell> living{};
|
||||||
static std::vector<Cell> overpopulated{};
|
static std::vector<Cell> overpopulated{};
|
||||||
static std::vector<Cell> underpopulated{};
|
static std::vector<Cell> underpopulated{};
|
||||||
static std::vector<Cell> born{};
|
static std::vector<Cell> born{};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue