-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve efficiency, readability, and performance in several modules
- executor.cpp: - Used initializer lists in the constructor - Simplified assertion and used std::lock_guard for mutex - singleexecutor.cpp and singleexecutor.h: - Simplified constructor initialization - Used range-based for loops and std::accumulate with lambda for better readability and efficiency - aboutdialog.cpp and aboutdialog.h: - Replaced raw pointers with std::unique_ptr - Simplified string formatting and used modern C++ features - Improved memory management and added const correctness - applicationdialog.cpp and applicationdialog.h: - Replaced raw pointers with std::unique_ptr - Improved memory management and added const correctness
- Loading branch information
Showing
6 changed files
with
13 additions
and
22 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
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
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