From 853052fd53c119cc2bff4330e2f812d6ab6c7cd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 12 Apr 2014 22:54:03 +0200 Subject: [PATCH 3/4] ptr_container: fix GCC -Wextra warning "base class should be explicitly initialized in the copy constructor" Signed-off-by: Michael Stahl --- include/boost/ptr_container/ptr_map_adapter.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/ptr_container/ptr_map_adapter.hpp b/include/boost/ptr_container/ptr_map_adapter.hpp index f3ce83a..9fa68fe 100644 --- a/include/boost/ptr_container/ptr_map_adapter.hpp +++ b/include/boost/ptr_container/ptr_map_adapter.hpp @@ -477,6 +477,7 @@ namespace ptr_container_detail } ptr_map_adapter( const ptr_map_adapter& r ) + : base_type() { map_basic_clone_and_insert( r.begin(), r.end() ); } -- 1.8.3.1