Added forward declarations to avoid ring compiler errors

This commit is contained in:
TabDragon 2017-12-20 22:58:00 +01:00
parent e641199ce4
commit 60e57b9ae0
8 changed files with 8 additions and 10 deletions

View File

@ -4,7 +4,6 @@
#include <map>
#include <vector>
#include "../../header/solve.h"
#include "../../header/input.h"
using namespace std;

View File

@ -5,8 +5,6 @@
#ifndef SOURCE_DESTRUCTIONPOWER_PROPERTIES_H
#define SOURCE_DESTRUCTIONPOWER_PROPERTIES_H
#include <stdint.h>
#include "DestructionPower.h"
@ -32,4 +30,4 @@ private:
};
#endif //SOURCE_ABSTRACTIONLAYER_1_PROPERTIES_H
#endif //SOURCE_DESTRUCTIONPOWER_PROPERTIES_H

View File

@ -1,7 +1,5 @@
#include "../../header.h"
//use this in second abstraction layer maybe ey?
void createRandomAbstraction2()
{

View File

@ -14,6 +14,7 @@ using namespace std;
/**
* IMPORTANT: Each new layer must be included there, to avoid compile errors
*/
#include "functions/AbstractionLayers/Layer1/AbstractionLayer_1.cpp"
#include "functions/AbstractionLayers/Layer1/AbstractionLayer_1.h"
#include "functions/AbstractionLayers/DestructionPower/DestructionPower.h"
#include "header/solve.h"

View File

@ -4,6 +4,7 @@
#include <stdint.h>
#include "../functions/AbstractionLayers/Layer1/AbstractionLayer_1_Properties.h"
#include "../functions/AbstractionLayers/DestructionPower/DestructionPower_Properties.h"
class Part
{
public:

View File

@ -3,10 +3,11 @@
#include <vector>
#include <iostream>
#include "input.h"
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
class Part;
using namespace std;
class coor

View File

@ -1,9 +1,9 @@
#include "header.h"
#include "header/input.h"
int LogEntry::randomed(0);
unsigned int PuzzlePiece::idcount(0);
int main()
{