Skip to content

Commit 702e6af

Browse files
author
Tal Hadad
committed
fix: omit duplicated startsWith() definition
1 parent c912799 commit 702e6af

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

simplecpp.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2341,11 +2341,6 @@ namespace simplecpp {
23412341
namespace simplecpp {
23422342

23432343
#ifdef __CYGWIN__
2344-
bool startsWith(const std::string &str, const std::string &s)
2345-
{
2346-
return (str.size() >= s.size() && str.compare(0, s.size(), s) == 0);
2347-
}
2348-
23492344
std::string convertCygwinToWindowsPath(const std::string &cygwinPath)
23502345
{
23512346
std::string windowsPath;

0 commit comments

Comments
 (0)