Skip to content

Commit

Permalink
removed double stoi function
Browse files Browse the repository at this point in the history
  • Loading branch information
antonvw committed Nov 17, 2024
1 parent 1607d19 commit 1413d6d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/vcs/unified-diff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@
#include <wex/vcs/vcs-entry.h>
#include <wex/vcs/vcs.h>

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,
Expand Down

0 comments on commit 1413d6d

Please sign in to comment.