Explicit constructor for allocator_destroyer

This commit is contained in:
Ion Gaztañaga
2015-02-26 00:27:53 +01:00
parent 4c2b352d7c
commit 7160bea2aa

View File

@@ -311,7 +311,7 @@ class allocator_destroyer
{ a_.deallocate_one(p); }
public:
allocator_destroyer(Allocator &a)
explicit allocator_destroyer(Allocator &a)
: a_(a)
{}