From da45799db29a92d31424b01d1f660a87d91ab8e8 Mon Sep 17 00:00:00 2001 From: goeiecool9999 <> Date: Thu, 8 Sep 2022 14:30:15 +0200 Subject: [PATCH] forgot to remove this --- src/Cafe/Filesystem/FSPath.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/Cafe/Filesystem/FSPath.cpp b/src/Cafe/Filesystem/FSPath.cpp index 0c90c035..a6fb63ee 100644 --- a/src/Cafe/Filesystem/FSPath.cpp +++ b/src/Cafe/Filesystem/FSPath.cpp @@ -1,7 +1,5 @@ #include "FSPath.h" -#include - #ifdef BOOST_OS_UNIX FSPath operator/ (const FSPath& lhs, const FSPath& rhs) { @@ -24,17 +22,6 @@ FSPath& FSPath::operator/= (const FSPath & rhs) fs::path relPath = rhs.relative_path(); fs::path correctedPath = empty() ? rhs.root_path() : *this; - // helper function to convert a path's alphabet characters to lowercase. - auto static lowercase_path = [](fs::path const & path) - { - std::string string = path.string(); - for (auto& i : string) - { - i = std::isalpha(i) ? std::tolower(i) : i; - } - return string; - }; - bool found; for (auto const &it : relPath) {