Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bebd9fdd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "gd: Remove CounterMetrics as dependency of StorageModule" into main

parents 435d88be ac3b9752
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
#include <utility>

#include "common/bind.h"
#include "metrics/counter_metrics.h"
#include "os/alarm.h"
#include "os/files.h"
#include "os/handler.h"
@@ -144,9 +143,7 @@ void StorageModule::Clear() {
  pimpl_->cache_.Clear();
}

void StorageModule::ListDependencies(ModuleList* list) const {
  list->add<metrics::CounterMetrics>();
}
void StorageModule::ListDependencies(ModuleList* /*list*/) const {}

void StorageModule::Start() {
  std::lock_guard<std::recursive_mutex> lock(mutex_);