Skip to content

Commit

Permalink
fix routing on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-schlecker committed Aug 24, 2021
1 parent 43dbad2 commit 823e891
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/crow/routing.h
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ namespace crow
auto ret = find(req_url, child, eptr - req_url.data(), params, blueprints);
update_found(ret);
params->int_params.pop_back();
blueprints->pop_back();
if (!blueprints->empty()) blueprints->pop_back();
}
}
}
Expand All @@ -916,7 +916,7 @@ namespace crow
auto ret = find(req_url, child, eptr - req_url.data(), params, blueprints);
update_found(ret);
params->uint_params.pop_back();
blueprints->pop_back();
if (!blueprints->empty()) blueprints->pop_back();
}
}
}
Expand All @@ -937,7 +937,7 @@ namespace crow
auto ret = find(req_url, child, eptr - req_url.data(), params, blueprints);
update_found(ret);
params->double_params.pop_back();
blueprints->pop_back();
if (!blueprints->empty()) blueprints->pop_back();
}
}
}
Expand All @@ -959,7 +959,7 @@ namespace crow
auto ret = find(req_url, child, epos, params, blueprints);
update_found(ret);
params->string_params.pop_back();
blueprints->pop_back();
if (!blueprints->empty()) blueprints->pop_back();
}
}

Expand All @@ -975,7 +975,7 @@ namespace crow
auto ret = find(req_url, child, epos, params, blueprints);
update_found(ret);
params->string_params.pop_back();
blueprints->pop_back();
if (!blueprints->empty()) blueprints->pop_back();
}
}
}
Expand All @@ -989,7 +989,7 @@ namespace crow
if (child->blueprint_index != INVALID_BP_ID) blueprints->push_back(child->blueprint_index);
auto ret = find(req_url, child, pos + fragment.size(), params, blueprints);
update_found(ret);
blueprints->pop_back();
if (!blueprints->empty()) blueprints->pop_back();
}
}
}
Expand Down

0 comments on commit 823e891

Please sign in to comment.