forked from boostorg/container
Explicit constructor for allocator_destroyer
This commit is contained in:
1 parent
4c2b352d7c
commit
7160bea2aa
1 file changed
+1
-1
@@ -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