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
+3 -3
View File
@@ -23,7 +23,7 @@
#include "iges_serializer.h"
#include <boost/dll/alias.hpp>
#include <boost/make_shared.hpp>
#include <memory>
#include <Standard_Version.hxx>
@@ -43,11 +43,11 @@ plugin::metadata plugin_metadata() {
return geometry_serializer_plugin_metadata("igs");
}
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 OCC_VERSION_HEX < 0x60900
IGESControl_Controller::Init();
#endif
return boost::make_shared<iges_serializer>(context.output_temp_filename, context.settings);
return std::make_shared<iges_serializer>(context.output_temp_filename, context.settings);
}
void configure_serializer(geometry_serializer_context& context) {