Added forward declarations to avoid ring compiler errors
This commit is contained in:
parent
e641199ce4
commit
60e57b9ae0
@ -4,7 +4,6 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include "../../header/solve.h"
|
||||
#include "../../header/input.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,5 @@
|
||||
#include "../../header.h"
|
||||
|
||||
|
||||
|
||||
//use this in second abstraction layer maybe ey?
|
||||
void createRandomAbstraction2()
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "header.h"
|
||||
#include "header/input.h"
|
||||
|
||||
int LogEntry::randomed(0);
|
||||
unsigned int PuzzlePiece::idcount(0);
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user