diff --git a/Source/capture.cpp b/Source/capture.cpp index a73bc82d7f3..96cc3a9cc2e 100644 --- a/Source/capture.cpp +++ b/Source/capture.cpp @@ -58,16 +58,6 @@ FILE *CaptureFile(std::string *dstPath) return OpenFile(dstPath->c_str(), "wb"); } -std::string FileNameForChat(const std::string &fullPath) -{ - // Extracts just the file name from the full path - auto pos = fullPath.find_last_of("\\/"); - if (pos == std::string::npos) { - return fullPath; - } - return fullPath.substr(pos + 1); -} - } // namespace void CaptureScreen()