From 1af9417dd4a5be66ee72cb0e5db8383588b0cda9 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Sun, 27 Mar 2016 18:13:00 +0200 Subject: [PATCH] fix compilation error in new function --- src/main.cpp | 3 --- src/tools/pathfinder.h | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 4ea0a4f..cb58092 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,7 +49,4 @@ int main(){ Loader::setMtlDirectory("../data/"); Loader::setTexDirectory("../data/"); std::vector meshes = Loader::loadMesh("sword.obj"); - - RenderingWidget; - } diff --git a/src/tools/pathfinder.h b/src/tools/pathfinder.h index 6dd674b..45a429f 100644 --- a/src/tools/pathfinder.h +++ b/src/tools/pathfinder.h @@ -2,6 +2,7 @@ #define PATHFINDER_H #include +#include #include "graph.h" class PathFinder