mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-04-06 06:55:06 +00:00
remove of smart pointers
This commit is contained in:
parent
c6d73c33b2
commit
c1fd41a355
31 changed files with 203 additions and 194 deletions
|
|
@ -27,7 +27,7 @@ std::list<std::shared_ptr<Task>> TaskManager::getTasks() {
|
|||
return _tasks;
|
||||
}
|
||||
|
||||
bool TaskManager::setup(std::shared_ptr<System> system) {
|
||||
bool TaskManager::setup(System &system) {
|
||||
logPrintlnV("will setup all tasks...");
|
||||
for (std::shared_ptr<Task> &elem : _alwaysRunTasks) {
|
||||
logPrintD("call setup from ");
|
||||
|
|
@ -43,7 +43,7 @@ bool TaskManager::setup(std::shared_ptr<System> system) {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool TaskManager::loop(std::shared_ptr<System> system) {
|
||||
bool TaskManager::loop(System &system) {
|
||||
// logPrintlnD("will loop all tasks...");
|
||||
for (std::shared_ptr<Task> &elem : _alwaysRunTasks) {
|
||||
// logPrintD("call loop from ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue