From f4419509a93acc749585f48ee3ef72433b70090c Mon Sep 17 00:00:00 2001 From: schroedtert <t.schroedter@fz-juelich.de> Date: Wed, 1 Sep 2021 10:17:44 +0200 Subject: [PATCH] Removes compiler warnings - mId was unused - predeclared classes are structs, which could lead to linking errors under the Microsoft C++ ABI Signed-off-by: schroedtert <t.schroedter@fz-juelich.de> --- include/moCapController.h | 4 ++-- include/moCapItem.h | 2 +- include/moCapPerson.h | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/moCapController.h b/include/moCapController.h index 8fed85f83..e9a83d171 100644 --- a/include/moCapController.h +++ b/include/moCapController.h @@ -28,7 +28,7 @@ #include "extrCalibration.h" #include "moCapPersonMetadata.h" -class SkeletonLine; +struct SkeletonLine; class QDomElement; struct SegmentRenderData @@ -43,7 +43,7 @@ public: bool operator==(const SegmentRenderData& lhs, const SegmentRenderData& rhs); /** - * @brief The MoCapController class controlls the visualisation of MoCap data. + * @brief The MoCapController class controls the visualisation of MoCap data. * * This class coordinates the visualization of motion capturing data. It saves the * different parameters of the visualization and transforms the data in MoCapStorage diff --git a/include/moCapItem.h b/include/moCapItem.h index ba24028a0..9947ef26f 100644 --- a/include/moCapItem.h +++ b/include/moCapItem.h @@ -25,7 +25,7 @@ class MoCapController; class Animation; class Petrack; -class SegmentRenderData; +struct SegmentRenderData; /** * @brief The MoCapItem class draws stick figures to visalize the MoCap data. diff --git a/include/moCapPerson.h b/include/moCapPerson.h index 3b590330f..4f7406cd2 100644 --- a/include/moCapPerson.h +++ b/include/moCapPerson.h @@ -59,7 +59,6 @@ public: void setXml(QDomElement &elem) const; private: - int mId; std::vector<SkeletonTree> mSkeletons; MoCapPersonMetadata mMetadata; }; -- GitLab