Witam, mam problem z fragmentem kodu:
#pragma once
#include "EntityBase.h"
#include <functional>
#include <map>
using EntityContainer = std::unordered_map<unsigned int, EntityBase*>;
using EntityFactory = std::unordered_map<EntityType, std::function<EntityBase*(void)>>;
Nie potrafię stwierdzić dlaczego nie widzi deklaracji funkcji skoro ma zincludowane obie klasy