From 3b808a8930a6b8c2c3c8b1bb2476dae5261d24bd Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 15 Sep 2026 09:13:05 +0200 Subject: [PATCH] Fix MSVC streamer template instantiation Export the explicit full-buffer instantiation instead of the generic class. MSVC otherwise emits a default-constructor closure for the paged reader, instantiating an unsupported constructor. Generated with the assistance of an AI coding tool. --- src/ifcparse/file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcparse/file.h b/src/ifcparse/file.h index f5f50b5da6..6f35630cc0 100644 --- a/src/ifcparse/file.h +++ b/src/ifcparse/file.h @@ -91,7 +91,7 @@ enum filetype { IFC_PARSE_API filetype guess_file_type(const std::string& path); template > -class IFC_PARSE_API instance_streamer { +class instance_streamer { private: std::unique_ptr owned_stream_; Reader* stream_;