Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc Paul Labonté committed Apr 14, 2021
1 parent ac8f549 commit a114eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ std::pair<std::string, std::string> split(const std::string &str) {
if (std::count(str.begin(), str.end(), ':') != 1)
throw std::runtime_error("Invalid interfaces bind, format is 'interface1:interface2': " + str);
const auto pos = str.find(':');
if (pos == std::string::npos) throw std::runtime_error("Require ':' to seperate interfaces");
if (pos == std::string::npos) throw std::runtime_error("Require ':' to separate interfaces");

return {str.substr(0, pos), str.substr(pos + 1)};
}
Expand Down

0 comments on commit a114eaa

Please sign in to comment.