From a114eaaf8752b18a55bb8e69c952294f3215d1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=20Paul=20Labont=C3=A9?= Date: Wed, 14 Apr 2021 18:34:54 -0400 Subject: [PATCH] Fix typo --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 5e1a382..4de1940 100644 --- a/main.cpp +++ b/main.cpp @@ -61,7 +61,7 @@ std::pair 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)}; }