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.
This commit is contained in:
Thomas Krijnen
2026-09-15 09:13:05 +02:00
parent 788d25767f
commit 3b808a8930
+1 -1
View File
@@ -91,7 +91,7 @@ enum filetype {
IFC_PARSE_API filetype guess_file_type(const std::string& path);
template <typename Reader = file_reader<full_buffer_impl>>
class IFC_PARSE_API instance_streamer {
class instance_streamer {
private:
std::unique_ptr<Reader> owned_stream_;
Reader* stream_;