diff --git a/src/core/paths.cpp b/src/core/paths.cpp index 3dc8fb0..35b848c 100644 --- a/src/core/paths.cpp +++ b/src/core/paths.cpp @@ -18,9 +18,9 @@ using namespace cellar; string cellar::paths::translate(std::string in_path, bool lazy) { bool windows_input; - static regex drive_letter(R"([a-zA-Z]:\\)"); + static regex drive_letter_rgx(R"([a-zA-Z]:\\)"); - windows_input = regex_match(in_path.substr(0, 3), drive_letter); + windows_input = regex_match(in_path.substr(0, 3), drive_letter_rgx); if (!lazy) { output::warning("non-lazy path translation is not implemented yet");