From ccedd27ee92962a26a4669c5508e46276827c3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 12 Feb 2025 14:06:01 +0100 Subject: [PATCH] Removed duplicate startsWith function --- simplecpp.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/simplecpp.cpp b/simplecpp.cpp index b8dd063..3f1c202 100755 --- a/simplecpp.cpp +++ b/simplecpp.cpp @@ -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;