From 4041dd3f22a31178e198e47164928d623ac20229 Mon Sep 17 00:00:00 2001 From: huangyongan Date: Mon, 24 Apr 2023 20:48:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=BC=96=E8=AF=91=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);