mirror of
https://github.com/boostorg/container.git
synced 2025-08-03 06:24:26 +02:00
Explicit constructor for allocator_destroyer
This commit is contained in:
@@ -311,7 +311,7 @@ class allocator_destroyer
|
||||
{ a_.deallocate_one(p); }
|
||||
|
||||
public:
|
||||
allocator_destroyer(Allocator &a)
|
||||
explicit allocator_destroyer(Allocator &a)
|
||||
: a_(a)
|
||||
{}
|
||||
|
||||
|
Reference in New Issue
Block a user