diff --git a/main.cpp b/main.cpp index b84cddc..fddb886 100644 --- a/main.cpp +++ b/main.cpp @@ -132,7 +132,7 @@ long long get_file_timestamp(const std::string& strPath) std::string str; if (strPath.empty()) { - return str; + return 0; } str = path.filename().string(); auto strTime = str.substr(0, 15);