|
|
|
@ -2,7 +2,6 @@
|
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
#include <boost/filesystem.hpp>
|
|
|
|
#include <vector>
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
#include <string>
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
|
|
#include <set>
|
|
|
|
#include <set>
|
|
|
|
|
|
|
|
|
|
|
|
#define K_VISION_DIR "/hard/k_vision"
|
|
|
|
#define K_VISION_DIR "/hard/k_vision"
|
|
|
|
@ -137,8 +136,8 @@ long long get_file_timestamp(const std::string& strPath)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fs::path path(strPath);
|
|
|
|
fs::path path(strPath);
|
|
|
|
str = path.filename().string();
|
|
|
|
str = path.filename().string();
|
|
|
|
auto strTime = str.substr(0, 14);
|
|
|
|
auto strTime = str.substr(0, 15);
|
|
|
|
std::remove(strTime.begin(), strTime.end(), '_');
|
|
|
|
strTime.erase(8, 1);
|
|
|
|
return std::atoll(strTime.c_str());
|
|
|
|
return std::atoll(strTime.c_str());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|