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

NodeTreeBase: Fix parameter name shadowing #1174

Merged
merged 1 commit into from Jun 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/dbtree/nodetreebase.cpp
Expand Up @@ -558,13 +558,13 @@ std::list< int > NodeTreeBase::get_res_query( const std::string& query, const bo

std::list<JDLIB::RegexPattern> list_regex;
JDLIB::Regex regex;
const auto make_pattern = []( const std::string& query ) {
const auto make_pattern = []( const std::string& qry ) {
constexpr bool icase = true; // 大文字小文字区別しない
constexpr bool newline = true; // . に改行をマッチさせない
constexpr bool usemigemo = true; // migemo使用
constexpr bool wchar = true; // 全角半角の区別をしない

return JDLIB::RegexPattern( query, icase, newline, usemigemo, wchar );
return JDLIB::RegexPattern( qry, icase, newline, usemigemo, wchar );
};

const std::list<std::string> list_query = MISC::split_line( query );
Expand Down