- pimpl_->timestamp_ = finfo.getModificationTime();
- pimpl_->checksum_ = lyx::sum(pimpl_->filename_);
+ pimpl_->timestamp_ = fs::last_write_time(pimpl_->filename_);
+ pimpl_->checksum_ = sum(pimpl_->filename_);
// If we aren't actively monitoring the file, then recompute the
// checksum explicitly.
if (!pimpl_->timer_.running() && !pimpl_->filename_.empty())
// If we aren't actively monitoring the file, then recompute the
// checksum explicitly.
if (!pimpl_->timer_.running() && !pimpl_->filename_.empty())