diff --git a/src/msgPrintControl.cpp b/src/msgPrintControl.cpp index ae825e5..24b714b 100644 --- a/src/msgPrintControl.cpp +++ b/src/msgPrintControl.cpp @@ -20,6 +20,8 @@ void msgPrintControlKey::format(char *buffer, size_t bufferSize) { // ============================================================================= +msgPrintControl::~msgPrintControl() = default; + bool msgPrintControl::shouldBePrinted(msgPrintControlKey &key, bool wantToPrint, asynUser *pasynUser) { diff --git a/src/msgPrintControl.h b/src/msgPrintControl.h index 36548bd..a228f8e 100644 --- a/src/msgPrintControl.h +++ b/src/msgPrintControl.h @@ -84,6 +84,12 @@ template <> struct hash { */ class msgPrintControl { public: + /** + * @brief Destroy the msgPrintControl object + * + */ + ~msgPrintControl(); + /** * @brief Checks if the error message associated with "key" has been printed * more than `this->maxRepetitions_` times in a row. If yes, returns false, diff --git a/src/sinqAxis.cpp b/src/sinqAxis.cpp index e61e768..9256704 100644 --- a/src/sinqAxis.cpp +++ b/src/sinqAxis.cpp @@ -337,6 +337,8 @@ sinqAxis::sinqAxis(class sinqController *pC, int axisNo) } } +sinqAxis::~sinqAxis() = default; + asynStatus sinqAxis::poll(bool *moving) { // Local variable declaration diff --git a/src/sinqAxis.h b/src/sinqAxis.h index c9284f9..7d254c8 100644 --- a/src/sinqAxis.h +++ b/src/sinqAxis.h @@ -24,6 +24,13 @@ class epicsShareClass sinqAxis : public asynMotorAxis { */ sinqAxis(class sinqController *pC_, int axisNo); + /** + * @brief Destroy the sinqAxis object + * + * This destructor is necessary in order to use the PIMPL idiom. + */ + ~sinqAxis(); + /** * @brief Perform some standardized operations before and after the concrete `doPoll` implementation.