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

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

Merge "gd: Fix bug of AdvertisingCache"

parents 98b7ae06 83fd5e92
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ class AdvertisingCache {
    auto it = Find(address_with_type);
    if (it != items.end()) {
      it->data = std::move(data);
      return it->data;
    }

    if (items.size() > cache_max) {