diff options
Diffstat (limited to 'messagebus')
-rw-r--r-- | messagebus/src/vespa/messagebus/testlib/custompolicy.cpp | 7 | ||||
-rw-r--r-- | messagebus/src/vespa/messagebus/testlib/custompolicy.h | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/messagebus/src/vespa/messagebus/testlib/custompolicy.cpp b/messagebus/src/vespa/messagebus/testlib/custompolicy.cpp index 4e794a49d97..17a0cbc169f 100644 --- a/messagebus/src/vespa/messagebus/testlib/custompolicy.cpp +++ b/messagebus/src/vespa/messagebus/testlib/custompolicy.cpp @@ -19,7 +19,9 @@ CustomPolicy::CustomPolicy(bool selectOnRetry, _consumableErrors(consumableErrors), _routes(routes) { - // empty +} + +CustomPolicy::~CustomPolicy() { } void @@ -78,14 +80,12 @@ CustomPolicyFactory::CustomPolicyFactory() : _selectOnRetry(true), _consumableErrors() { - // empty } CustomPolicyFactory::CustomPolicyFactory(bool selectOnRetry) : _selectOnRetry(selectOnRetry), _consumableErrors() { - // empty } CustomPolicyFactory::CustomPolicyFactory(bool selectOnRetry, uint32_t consumableError) : @@ -99,7 +99,6 @@ CustomPolicyFactory::CustomPolicyFactory(bool selectOnRetry, const std::vector<u _selectOnRetry(selectOnRetry), _consumableErrors(consumableErrors) { - // empty } IRoutingPolicy::UP diff --git a/messagebus/src/vespa/messagebus/testlib/custompolicy.h b/messagebus/src/vespa/messagebus/testlib/custompolicy.h index 4fec4efe7c2..13318eb6c63 100644 --- a/messagebus/src/vespa/messagebus/testlib/custompolicy.h +++ b/messagebus/src/vespa/messagebus/testlib/custompolicy.h @@ -16,6 +16,7 @@ public: CustomPolicy(bool selectOnRetry, const std::vector<uint32_t> consumableErrors, const std::vector<Route> &routes); + ~CustomPolicy(); void select(RoutingContext &context) override; void merge(RoutingContext &context) override; |