From 30fdb5c9ac9da9a3b0901d6e020cbab15bc06519 Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Sat, 8 Jun 2019 20:47:55 +0200 Subject: [PATCH] fix compilation problem on linux --- src/SaxParser.cpp | 2 +- src/TimerCallback.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SaxParser.cpp b/src/SaxParser.cpp index 0354f50..83b2d8c 100644 --- a/src/SaxParser.cpp +++ b/src/SaxParser.cpp @@ -1542,7 +1542,7 @@ bool SaxParser::ParseTxtFormat(const QString &fileName, SyncData* dataset, doubl while ( !in.atEnd() ) { QString line = in.readLine(); - if(line[0] == "#") // looking for framerate + if(line.startsWith("#")) // looking for framerate { if(line.split(":").size()==2) { diff --git a/src/TimerCallback.cpp b/src/TimerCallback.cpp index e44274b..da7b799 100644 --- a/src/TimerCallback.cpp +++ b/src/TimerCallback.cpp @@ -84,7 +84,7 @@ #include <vtkVectorText.h> #include <vtkFollower.h> #include <vtkLine.h> -#include <vtkTubeFilter.h> +#include <vtkCellArray.h> #include "geometry/FacilityGeometry.h" #include "geometry/Point.h" -- GitLab