@@ -66,8 +66,9 @@ struct EvseManagerModuleAdapterStub : public module::stub::EvseManagerModuleAdap
6666 error_list{} {
6767 }
6868
69- virtual std::shared_ptr<Everest::error::ErrorManagerImpl> get_error_manager_impl_fn (const std::string& str) {
70- return std::make_shared<Everest::error::ErrorManagerImpl>(
69+ virtual std::vector<std::shared_ptr<Everest::error::ErrorManagerImpl>>
70+ get_error_manager_impl_fn (const std::string& str) {
71+ return {std::make_shared<Everest::error::ErrorManagerImpl>(
7172 error_type_map, std::make_shared<Everest::error::ErrorDatabaseMap>(), error_list,
7273 [this ](const Everest::error::Error& error) {
7374 if (error_raise.find (error.type ) == error_raise.end ()) {
@@ -83,7 +84,7 @@ struct EvseManagerModuleAdapterStub : public module::stub::EvseManagerModuleAdap
8384 error_clear[error.type ](error);
8485 active_errors.remove (error);
8586 },
86- false );
87+ false )} ;
8788 }
8889
8990 virtual std::shared_ptr<Everest::error::ErrorManagerReq> get_error_manager_req_fn (const Requirement& req) {
@@ -100,8 +101,9 @@ struct EvseManagerModuleAdapterStub : public module::stub::EvseManagerModuleAdap
100101 return std::make_shared<Everest::error::ErrorFactory>(error_type_map);
101102 }
102103
103- virtual std::shared_ptr<Everest::error::ErrorStateMonitor> get_error_state_monitor_impl_fn (const std::string&) {
104- return std::make_shared<Everest::error::ErrorStateMonitor>(error_database);
104+ virtual std::vector<std::shared_ptr<Everest::error::ErrorStateMonitor>>
105+ get_error_state_monitor_impl_fn (const std::string&) {
106+ return {std::make_shared<Everest::error::ErrorStateMonitor>(error_database)};
105107 }
106108};
107109
0 commit comments