diff --git a/main.cpp b/main.cpp index 7b1145b..129f554 100644 --- a/main.cpp +++ b/main.cpp @@ -2,7 +2,6 @@ #include #include #include -#include #include #define K_VISION_DIR "/hard/k_vision" @@ -137,8 +136,8 @@ long long get_file_timestamp(const std::string& strPath) } fs::path path(strPath); str = path.filename().string(); - auto strTime = str.substr(0, 14); - std::remove(strTime.begin(), strTime.end(), '_'); + auto strTime = str.substr(0, 15); + strTime.erase(8, 1); return std::atoll(strTime.c_str()); }