Skip to content

Commit

Permalink
Remove one more lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Feb 26, 2024
1 parent 5901ca0 commit 69644de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform/Linux/bluez/BluezAdvertisement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ BluezLEAdvertisement1 * BluezAdvertisement::CreateLEAdvertisement()
// empty secondary channel for now

bluez_object_skeleton_set_leadvertisement1(object, adv);
// NOLINTBEGIN(*.EnumCastOutOfRange)
g_signal_connect(adv, "handle-release",
G_CALLBACK(+[](BluezLEAdvertisement1 * aAdv, GDBusMethodInvocation * aInv, BluezAdvertisement * self) {
return self->BluezLEAdvertisement1Release(aAdv, aInv);
}),
this);
// NOLINTEND(*.EnumCastOutOfRange)

// NOLINTNEXTLINE(bugprone-casting-through-void)
g_dbus_object_manager_server_export(mRoot.get(), G_DBUS_OBJECT_SKELETON(object));
Expand Down

0 comments on commit 69644de

Please sign in to comment.