mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 08:35:14 +00:00
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:
+1
-1
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user