Page MenuHomePhabricator

qt: make BitcoinGui::config a const ref
ClosedPublic

Authored by PiRK on May 26 2025, 08:23.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC68514a0d2cc5: qt: make BitcoinGui::config a const ref
Summary

The callsites all assume that config is never a nullptr, so enforce it by using a const reference rather than a bare pointer.

Test Plan

ninja all check-all

run bitcoin-qt

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.May 26 2025, 08:23
PiRK retitled this revision from gui: make BitcoinGui::config a const ref to qt: make BitcoinGui::config a const ref.May 26 2025, 08:53
This revision is now accepted and ready to land.May 26 2025, 09:29
This revision was automatically updated to reflect the committed changes.