mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 23:20:56 +00:00
Replace Boost shared pointers
Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "gltf_serializer.h"
|
||||
|
||||
#include <boost/dll/alias.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <memory>
|
||||
|
||||
namespace ifcopenshell {
|
||||
namespace serializers {
|
||||
@@ -37,8 +37,8 @@ plugin::metadata plugin_metadata() {
|
||||
return geometry_serializer_plugin_metadata("glb");
|
||||
}
|
||||
|
||||
boost::shared_ptr<geometry_serializer> create_serializer(const geometry_serializer_context& context) {
|
||||
return boost::make_shared<gltf_serializer>(context.output_temp_filename, context.settings);
|
||||
std::shared_ptr<geometry_serializer> create_serializer(const geometry_serializer_context& context) {
|
||||
return std::make_shared<gltf_serializer>(context.output_temp_filename, context.settings);
|
||||
}
|
||||
|
||||
void register_plugin(geometry_serializer_registry& registry, const plugin::module& module) {
|
||||
|
||||
Reference in New Issue
Block a user