aboutsummaryrefslogtreecommitdiffstats
path: root/messagebus/src/tests/routingcontext/routingcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'messagebus/src/tests/routingcontext/routingcontext.cpp')
-rw-r--r--messagebus/src/tests/routingcontext/routingcontext.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/messagebus/src/tests/routingcontext/routingcontext.cpp b/messagebus/src/tests/routingcontext/routingcontext.cpp
index 737673a73ba..aba50156412 100644
--- a/messagebus/src/tests/routingcontext/routingcontext.cpp
+++ b/messagebus/src/tests/routingcontext/routingcontext.cpp
@@ -48,9 +48,12 @@ public:
CustomPolicyFactory(bool forward,
const std::vector<string> &all,
const std::vector<string> &matched);
+ ~CustomPolicyFactory() override;
IRoutingPolicy::UP create(const string &param) override;
};
+CustomPolicyFactory::~CustomPolicyFactory() = default;
+
class CustomPolicy : public IRoutingPolicy {
private:
CustomPolicyFactory &_factory;