Make new_delete_resource_imp and null_memory_resource_imp "final"

This commit is contained in:
Ion Gaztañaga
2025-12-23 11:07:04 +01:00
parent e4fcf4b862
commit f29a4c8248
2 changed files with 324 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ namespace boost {
namespace container {
namespace pmr {
class new_delete_resource_imp
class new_delete_resource_imp BOOST_FINAL
: public memory_resource
{
public:
@@ -41,7 +41,7 @@ class new_delete_resource_imp
{ return &other == this; }
};
struct null_memory_resource_imp
struct null_memory_resource_imp BOOST_FINAL
: public memory_resource
{
public: