Sfoglia il codice sorgente

ЭТО ТОЧНО ПОСЛЕДНИЙ КОММИТ

GeorgeKolog 6 anni fa
parent
commit
fc63bf77b5
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 3 3
      source/Cell.cpp
  2. 1 1
      source/units/unit.cpp

+ 3 - 3
source/Cell.cpp

@@ -1,5 +1,5 @@
-#include "../include/Cell.h"
-#include "../include/units/unit.h"
+#include "Cell.h"
+#include "unit.h"
 #include <string>
 #include <queue>
 #include <vector>
@@ -148,7 +148,7 @@ std::vector <Cell*> Cell::actualPath(Cell* to) {
                 parent = TestParent;
             }
         };
-        if(parent == nullptr)throw std::string("Don`t recalculated");
+        if(parent == nullptr) throw std::string("Don`t recalculated");
         f(to->getleftUp(), to);
         f(to->getleft(), to);
         f(to->getleftDown(), to);

+ 1 - 1
source/units/unit.cpp

@@ -1,6 +1,6 @@
 #include "abstractfactory.h"
 #include "units/unit.h"
-#include "../include/Cell.h"
+#include "Cell.h"
 
 #include <iostream>
 #include <algorithm>