mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-31 21:24:40 +02:00
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.
This commit is contained in:
@@ -20,7 +20,7 @@ namespace boost {
|
|||||||
struct ms_noinit_tag { };
|
struct ms_noinit_tag { };
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
class ms_allocator_state;
|
struct ms_allocator_state;
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
struct ms_allocator_state<T[]> {
|
struct ms_allocator_state<T[]> {
|
||||||
|
Reference in New Issue
Block a user