From 1413d6df14a1eba8326fb80699b3b49b21be8889 Mon Sep 17 00:00:00 2001 From: anton Date: Sun, 17 Nov 2024 12:14:30 +0100 Subject: [PATCH] removed double stoi function --- src/vcs/unified-diff.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/vcs/unified-diff.cpp b/src/vcs/unified-diff.cpp index ad67d4ab7..93fa806fd 100644 --- a/src/vcs/unified-diff.cpp +++ b/src/vcs/unified-diff.cpp @@ -12,14 +12,6 @@ #include #include -namespace wex -{ -int stoi(const std::string& i) -{ - return i.empty() ? 1 : std::stoi(i); -} -} // namespace wex - wex::unified_diff::unified_diff( const path& p, const vcs_entry* e,