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

Root: Use std::find_if() instead of range-based for loops #1261

Merged
merged 1 commit into from Sep 30, 2023

Commits on Sep 30, 2023

  1. Root: Use std::find_if() instead of range-based for loops

    `std::find_if()`が使えるとcppcheckに指摘されたためforループ文を
    修正します。
    
    cppcheck 2.11.1のレポート
    ```
    src/dbtree/root.cpp:1442:77: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm]
                && url.find( table.old_path_board + "/" ) != std::string::npos ){
                                                                                ^
    ```
    ma8ma committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    718f04e View commit details
    Browse the repository at this point in the history