Move the destructor definition out of the header (C4150)
This commit is contained in:
parent
690fa7909b
commit
2a85afc405
|
@ -36,9 +36,6 @@ class PoseTrackingImpl {
|
||||||
public:
|
public:
|
||||||
PoseTrackingImpl(const std::string& calculatorGraphConfigFile) {
|
PoseTrackingImpl(const std::string& calculatorGraphConfigFile) {
|
||||||
auto status = initialize(calculatorGraphConfigFile);
|
auto status = initialize(calculatorGraphConfigFile);
|
||||||
if (!status.ok()) {
|
|
||||||
LOG(WARNING) << "Warning: " << status;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
absl::Status initialize(const std::string& calculatorGraphConfigFile) {
|
absl::Status initialize(const std::string& calculatorGraphConfigFile) {
|
||||||
|
@ -162,4 +159,9 @@ cv_wrapper::Mat PoseTracking::lastSegmentedFrame() {
|
||||||
return cv_wrapper::Mat(result.rows, result.cols, result.data);
|
return cv_wrapper::Mat(result.rows, result.cols, result.data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PoseTracking::~PoseTracking()
|
||||||
|
{
|
||||||
|
delete mImplementation;
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace nimagna
|
} // namespace nimagna
|
||||||
|
|
|
@ -103,7 +103,7 @@ class DLLEXPORT PoseTracking {
|
||||||
};
|
};
|
||||||
|
|
||||||
PoseTracking(const char* calculatorGraphConfigFile);
|
PoseTracking(const char* calculatorGraphConfigFile);
|
||||||
~PoseTracking() { delete mImplementation; }
|
~PoseTracking();
|
||||||
|
|
||||||
bool processFrame(const cv_wrapper::Mat& inputRGB8Bit);
|
bool processFrame(const cv_wrapper::Mat& inputRGB8Bit);
|
||||||
cv_wrapper::Mat lastSegmentedFrame();
|
cv_wrapper::Mat lastSegmentedFrame();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user