From 7160bea2aa2fa7e70598f5270e9f8960914dbe38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 26 Feb 2015 00:27:53 +0100 Subject: [PATCH] Explicit constructor for allocator_destroyer --- include/boost/container/detail/destroyers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/container/detail/destroyers.hpp b/include/boost/container/detail/destroyers.hpp index dc25c6d..52b44c0 100644 --- a/include/boost/container/detail/destroyers.hpp +++ b/include/boost/container/detail/destroyers.hpp @@ -311,7 +311,7 @@ class allocator_destroyer { a_.deallocate_one(p); } public: - allocator_destroyer(Allocator &a) + explicit allocator_destroyer(Allocator &a) : a_(a) {}