#include <unordered_map>
#include <vector>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "tasklist.h"
#include "taskstats.h"
}
using Sorter = std::function<void(std::vector<TaskStatistics>&)>;
-static Sorter GetSorter(const std::string field) {
+static Sorter GetSorter(const std::string& field) {
// Generic comparator
static auto comparator = [](auto& lhs, auto& rhs, auto field, bool ascending) -> bool {
auto a = (lhs.*field)();