Fix build issues

This commit is contained in:
Georg Hagen
2025-02-14 12:16:53 +01:00
parent 82e5b1871a
commit afe84ff9a5
2 changed files with 11 additions and 3 deletions

View File

@@ -97,8 +97,7 @@ namespace OpenVulkano::Image
[[maybe_unused]] XmpBuilder& XmpBuilder::SetCreateDateNow()
{
std::chrono::system_clock::now();
std::time_t currentTime = std::chrono::system_clock::to_time_t(now);
std::time_t currentTime = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
SetCreateDate(currentTime);
}