Skip to content

Commit 875b429

Browse files
authored
Removed duplicate startsWith function (#413)
1 parent 9b0c842 commit 875b429

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

simplecpp.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,11 +2371,6 @@ namespace simplecpp {
23712371
namespace simplecpp {
23722372

23732373
#ifdef __CYGWIN__
2374-
bool startsWith(const std::string &str, const std::string &s)
2375-
{
2376-
return (str.size() >= s.size() && str.compare(0, s.size(), s) == 0);
2377-
}
2378-
23792374
std::string convertCygwinToWindowsPath(const std::string &cygwinPath)
23802375
{
23812376
std::string windowsPath;

0 commit comments

Comments
 (0)