Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Efficiency, Readability, and Performance in Various Cppcheck Modules #6650

Closed
wants to merge 1 commit into from

Commits on Jul 31, 2024

  1. 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
    merttozer committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    de3916b View commit details
    Browse the repository at this point in the history