Skip to content

Commit

Permalink
Removed leftovers from removing empty interface from OCPP201 module
Browse files Browse the repository at this point in the history
Signed-off-by: Piet Gömpel <[email protected]>
  • Loading branch information
Pietfried committed Oct 14, 2024
1 parent 7609ac3 commit 2ab0db0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion modules/OCPP201/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ target_compile_options(${MODULE_NAME}

target_sources(${MODULE_NAME}
PRIVATE
"main/emptyImpl.cpp"
"auth_validator/auth_token_validatorImpl.cpp"
"auth_provider/auth_token_providerImpl.cpp"
"data_transfer/ocpp_data_transferImpl.cpp"
Expand Down
5 changes: 1 addition & 4 deletions modules/OCPP201/OCPP201.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// headers for provided interface implementations
#include <generated/interfaces/auth_token_provider/Implementation.hpp>
#include <generated/interfaces/auth_token_validator/Implementation.hpp>
#include <generated/interfaces/empty/Implementation.hpp>
#include <generated/interfaces/ocpp/Implementation.hpp>
#include <generated/interfaces/ocpp_data_transfer/Implementation.hpp>
#include <generated/interfaces/session_cost/Implementation.hpp>
Expand Down Expand Up @@ -53,7 +52,7 @@ struct Conf {
class OCPP201 : public Everest::ModuleBase {
public:
OCPP201() = delete;
OCPP201(const ModuleInfo& info, Everest::MqttProvider& mqtt_provider, std::unique_ptr<emptyImplBase> p_main,
OCPP201(const ModuleInfo& info, Everest::MqttProvider& mqtt_provider,
std::unique_ptr<auth_token_validatorImplBase> p_auth_validator,
std::unique_ptr<auth_token_providerImplBase> p_auth_provider,
std::unique_ptr<ocpp_data_transferImplBase> p_data_transfer, std::unique_ptr<ocppImplBase> p_ocpp_generic,
Expand All @@ -65,7 +64,6 @@ class OCPP201 : public Everest::ModuleBase {
std::vector<std::unique_ptr<display_messageIntf>> r_display_message, Conf& config) :
ModuleBase(info),
mqtt(mqtt_provider),
p_main(std::move(p_main)),
p_auth_validator(std::move(p_auth_validator)),
p_auth_provider(std::move(p_auth_provider)),
p_data_transfer(std::move(p_data_transfer)),
Expand All @@ -82,7 +80,6 @@ class OCPP201 : public Everest::ModuleBase {
}

Everest::MqttProvider& mqtt;
const std::unique_ptr<emptyImplBase> p_main;
const std::unique_ptr<auth_token_validatorImplBase> p_auth_validator;
const std::unique_ptr<auth_token_providerImplBase> p_auth_provider;
const std::unique_ptr<ocpp_data_transferImplBase> p_data_transfer;
Expand Down

0 comments on commit 2ab0db0

Please sign in to comment.