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

Commit 397f0eab authored by Roshan Pius's avatar Roshan Pius Committed by android-build-merger
Browse files

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

am: cab37be5

Change-Id: Iea0ad9868ed0c4347e8614c7bc858c56938fafb7
parents d1914162 cab37be5
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) {