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

Commit cab37be5 authored by Roshan Pius's avatar Roshan Pius
Browse files

wifi(implementation): Return const-ref for callback set

Bug: 36792787
Test: Compiles
Change-Id: Ibd19c6f41801d0fa1ea7dc9c3334213865d649ec
parent 0481c3f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ class HidlCallbackHandler {
    return true;
  }

  const std::set<android::sp<CallbackType>> getCallbacks() { return cb_set_; }
  const std::set<android::sp<CallbackType>>& getCallbacks() { return cb_set_; }

  // Death notification for callbacks.
  void onObjectDeath(uint64_t cookie) {