So, I have this class:
#pragma once
#include "ObjectManager.h"
#include <map>
#include <string>
class Layers {
public:
Layers();
~Layers();
std::map<std::string,ObjectManager *> * layers;
void AddLayer(std::string str);
ObjectManager * GetLayer(std::string str);
};
And it VS gives me error C2065: "error C2065: 'ObjectManager' : undeclared identifier"
But as you can see, I am including header and there is no reason for this error to occur. Right?.. Right?
Update: Guh. Nevermind, it's just me being stupid.