Skip to content

Commit

Permalink
Delete duplicate strip_server_name function (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijaGolubovic authored Jul 1, 2022
1 parent 882732b commit 461a397
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,6 @@ class StrategyMirror {
}
}

static std::string strip_server_name(const std::string& full_name) {
std::string stripped_name = full_name;
auto separator = full_name.find_last_of("/");
if (separator != std::string::npos && separator < stripped_name.length() - 1) {
stripped_name = stripped_name.substr(separator + 1, stripped_name.length() - (separator + 1));
}
return stripped_name;
}

static std::string strip_server_name(const std::string& full_name) {
std::string stripped_name = full_name;
Expand Down

0 comments on commit 461a397

Please sign in to comment.