Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dbus/gconnman_clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void Clock::setTimeZone(const std::string& timezone,
PropertiesSetCallback callback) {
auto data = prepareCallback(std::move(callback));
set_property(proxy(), TIMEZONE_STR, g_variant_new_string(timezone.c_str()),
nullptr, &Clock::finishAsyncCall, data.release());
NULL, &Clock::finishAsyncCall, data.release());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ modernize-use-nullptr ⚠️
use nullptr

Suggested change
NULL, &Clock::finishAsyncCall, data.release());
nullptr, &Clock::finishAsyncCall, data.release());

}

void Clock::setTimeUpdates(const Properties::TimeUpdate time_updates,
Expand Down
Loading