Skip to content

Commit

Permalink
Fix potential error and rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Mis1eader-dev committed Feb 11, 2024
1 parent 90c836c commit 078a395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/HostRedirector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void HostRedirector::initAndStart(const Json::Value &config)
const auto &rules = config["rules"];
if (rules.isObject())
{
const auto &redirectToList = rules.getMemberNames();
const auto redirectToList = rules.getMemberNames();
rulesTo_.reserve(redirectToList.size());
for (const string redirectToStr : redirectToList)
{
Expand Down

0 comments on commit 078a395

Please sign in to comment.