Skip to content

Commit

Permalink
Removed duplicate startsWith function
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Feb 12, 2025
1 parent 9b0c842 commit ccedd27
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions simplecpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2371,11 +2371,6 @@ namespace simplecpp {
namespace simplecpp {

#ifdef __CYGWIN__
bool startsWith(const std::string &str, const std::string &s)
{
return (str.size() >= s.size() && str.compare(0, s.size(), s) == 0);
}

std::string convertCygwinToWindowsPath(const std::string &cygwinPath)
{
std::string windowsPath;
Expand Down

0 comments on commit ccedd27

Please sign in to comment.