From d586469d60b4d7277174b1592f45e661c75ebc9c Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sat, 8 Mar 2014 18:31:31 +0300 Subject: [PATCH] Fix warnings about struct/class mismatch ms_allocator_state template was declared as class but its specializations were as structs. This caused Clang 3.2 warnings. The commit changes ms_allocator_state declaration to struct to fix that. --- include/boost/smart_ptr/detail/array_allocator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/smart_ptr/detail/array_allocator.hpp b/include/boost/smart_ptr/detail/array_allocator.hpp index d342e04..aea824c 100644 --- a/include/boost/smart_ptr/detail/array_allocator.hpp +++ b/include/boost/smart_ptr/detail/array_allocator.hpp @@ -20,7 +20,7 @@ namespace boost { struct ms_noinit_tag { }; template - class ms_allocator_state; + struct ms_allocator_state; template struct ms_allocator_state {