Replace Boost shared pointers

Generated with the assistance of an AI coding tool.
This commit is contained in:
Thomas Krijnen
2026-08-08 15:37:53 +02:00
parent 4e49b640a7
commit 8c003110fe
34 changed files with 110 additions and 105 deletions
+4 -4
View File
@@ -23,7 +23,7 @@
#include "svg_serializer.h"
#include <boost/dll/alias.hpp>
#include <boost/make_shared.hpp>
#include <memory>
namespace ifcopenshell {
namespace serializers {
@@ -37,12 +37,12 @@ plugin::metadata plugin_metadata() {
return geometry_serializer_plugin_metadata("svg");
}
boost::shared_ptr<geometry_serializer> create_serializer(const geometry_serializer_context& context) {
std::shared_ptr<geometry_serializer> create_serializer(const geometry_serializer_context& context) {
if (context.output_temp_stream) {
return boost::make_shared<svg_serializer>(
return std::make_shared<svg_serializer>(
*context.output_temp_stream, context.settings);
}
return boost::make_shared<svg_serializer>(context.output_temp_filename, context.settings);
return std::make_shared<svg_serializer>(context.output_temp_filename, context.settings);
}
void configure_serializer(geometry_serializer_context& context) {