-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup GUI special member functions (#1387)
* cleanup gui special member functions These tidy checks had a large impact: cppcoreguidelines-prefer-member-initializer modernize-use-default-member-init modernize-use-equals-default Some instances of other tidy issues were resolved: clang-analyzer-optin.cplusplus.VirtualCall cppcoreguidelines-special-member-functions readability-inconsistent-declaration-parameter-name readability-named-parameter and others. Overall we have 1334 fewer tidy checks on our code base, a reduction of 15% of the total! The user defined dtor for class SettingGroup was eliminated by using std::vector<std::unique_ptr<VarSetting>> instead of a QList of raw pointers. The user defined dtor for class FilterWidget was eliminated by using std::vector<std::unique_ptr<FilterOption>> instead of a QList of raw pointers.
- Loading branch information
Showing
7 changed files
with
328 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.