Skip to content

Commit

Permalink
Added virtual destructor to PoseRenderer (CMU-Perceptual-Computing-La…
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrinshpon authored and gineshidalgo99 committed Oct 4, 2018
1 parent 18f352d commit 2cb1697
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/openpose/pose/poseRenderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ namespace op
public:
PoseRenderer(const PoseModel poseModel);

virtual ~PoseRenderer();

virtual void initializationOnThread(){};

virtual std::pair<int, std::string> renderPose(Array<float>& outputData, const Array<float>& poseKeypoints,
Expand Down
4 changes: 4 additions & 0 deletions src/openpose/pose/poseRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,8 @@ namespace op
mPartIndexToName{createPartToName(poseModel)}
{
}

PoseRenderer::~PoseRenderer()
{
}
}

0 comments on commit 2cb1697

Please sign in to comment.