From d89463c5ef24d6fb7013c83e5cc78ce0fecf967d Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Wed, 5 Aug 2026 11:46:57 -0500 Subject: [PATCH] add `std::filesystem::file_time_type` as an opaque type --- library/DataIdentity.cpp | 1 + library/include/DataIdentity.h | 1 + 2 files changed, 2 insertions(+) diff --git a/library/DataIdentity.cpp b/library/DataIdentity.cpp index 0a797c2069..111166d90e 100644 --- a/library/DataIdentity.cpp +++ b/library/DataIdentity.cpp @@ -65,6 +65,7 @@ namespace df { OPAQUE_IDENTITY_TRAITS(std::optional >); OPAQUE_IDENTITY_TRAITS(std::variant >); OPAQUE_IDENTITY_TRAITS(std::weak_ptr); + OPAQUE_IDENTITY_TRAITS(std::filesystem::file_time_type); OPAQUE_IDENTITY_TRAITS(wchar_t*); const buffer_container_identity buffer_container_identity::base_instance; diff --git a/library/include/DataIdentity.h b/library/include/DataIdentity.h index cf486e6188..c48dd299fd 100644 --- a/library/include/DataIdentity.h +++ b/library/include/DataIdentity.h @@ -632,6 +632,7 @@ namespace df OPAQUE_IDENTITY_TRAITS(std::optional >); OPAQUE_IDENTITY_TRAITS(std::variant >); OPAQUE_IDENTITY_TRAITS(std::weak_ptr); + OPAQUE_IDENTITY_TRAITS(std::filesystem::file_time_type); #ifdef BUILD_DFHACK_LIB template