build: Allow ccache to properly cache msvc builds

This commit is contained in:
WerWolv
2025-07-22 23:47:24 +02:00
parent 59695dcad6
commit a3eb057215
3 changed files with 7 additions and 2 deletions

View File

@@ -2737,11 +2737,11 @@ namespace hex::plugin::builtin {
if (!std::filesystem::exists(fileInfo.path)) {
return false;
}
return std::filesystem::last_write_time(fileInfo.path) != fileInfo.lastModified;
} catch (const std::filesystem::filesystem_error &) {
return false;
}
return false;
}
size_t ViewPatternEditor::calculateContentHash(const std::string &content) const {