Skip to content

Commit

Permalink
back to const
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Feb 10, 2025
1 parent 1644485 commit 7edb900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/defaults.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CompatMode parse_compat_mode_str(std::string_view compat_mode_str)
}

std::vector<int> parse_http_status_codes(std::string_view env_var_name,
std::string_view status_codes)
std::string const status_codes)
{
// Ensure `status_codes` consists only of 3-digit integers separated by commas, allowing spaces.
std::regex const check_pattern(R"(^\s*\d{3}\s*(\s*,\s*\d{3}\s*)*$)");
Expand Down

0 comments on commit 7edb900

Please sign in to comment.