From 9354b1801a88d542d96f43e5d6fba54728b9c0f7 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 16 Aug 2022 17:13:05 +0200 Subject: [PATCH 1/2] ctor argument not required anymore --- example/core/GenericFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/core/GenericFactory.cpp b/example/core/GenericFactory.cpp index 3f6296d..afc4e7d 100644 --- a/example/core/GenericFactory.cpp +++ b/example/core/GenericFactory.cpp @@ -41,7 +41,7 @@ void ObjectFactory::produceGenericObjects() { new HealthTable(objects::HEALTH_TABLE); new InternalErrorReporter(objects::INTERNAL_ERROR_REPORTER); auto* stamperAndReader = new CdsShortTimeStamper(objects::TIME_STAMPER); - new VerificationReporter(nullptr); + new VerificationReporter(); auto *ccsdsDistrib = new CCSDSDistributor(apid::APID, objects::CCSDS_DISTRIBUTOR); new PusDistributor(apid::APID, objects::PUS_DISTRIBUTOR, From 3f8310951311992ce1335cdad9da45b0666289e2 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 16 Aug 2022 17:18:27 +0200 Subject: [PATCH 2/2] clean up a bit --- example/core/GenericFactory.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/example/core/GenericFactory.cpp b/example/core/GenericFactory.cpp index afc4e7d..24e34c9 100644 --- a/example/core/GenericFactory.cpp +++ b/example/core/GenericFactory.cpp @@ -159,8 +159,5 @@ void Factory::setStaticFrameworkObjectIds() { CommandingServiceBase::defaultPacketSource = objects::PUS_DISTRIBUTOR; CommandingServiceBase::defaultPacketDestination = objects::TM_FUNNEL; - VerificationReporter::DEFAULT_REPORTER = objects::TC_VERIFICATOR; VerificationReporter::DEFAULT_RECEIVER = objects::PUS_SERVICE_1_VERIFICATION; - - // TmPacketBase::timeStamperId = objects::TIME_STAMPER; }