mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-15 23:20:08 +02:00
Fixed warnings on clang on OSX.
This commit is contained in:
@@ -143,7 +143,7 @@ TEST(MSGPACK_CPP11, simple_array_empty)
|
|||||||
|
|
||||||
TEST(MSGPACK_CPP11, simple_array_size_less_than)
|
TEST(MSGPACK_CPP11, simple_array_size_less_than)
|
||||||
{
|
{
|
||||||
array<int, 2> val1 { 1 , 2 };
|
array<int, 2> val1 { {1 , 2} };
|
||||||
msgpack::sbuffer sbuf;
|
msgpack::sbuffer sbuf;
|
||||||
msgpack::pack(sbuf, val1);
|
msgpack::pack(sbuf, val1);
|
||||||
msgpack::object_handle oh =
|
msgpack::object_handle oh =
|
||||||
@@ -161,7 +161,7 @@ TEST(MSGPACK_CPP11, simple_array_size_less_than)
|
|||||||
|
|
||||||
TEST(MSGPACK_CPP11, simple_array_size_greater_than)
|
TEST(MSGPACK_CPP11, simple_array_size_greater_than)
|
||||||
{
|
{
|
||||||
array<int, 2> val1 { 1 , 2 };
|
array<int, 2> val1 { {1 , 2} };
|
||||||
msgpack::sbuffer sbuf;
|
msgpack::sbuffer sbuf;
|
||||||
msgpack::pack(sbuf, val1);
|
msgpack::pack(sbuf, val1);
|
||||||
msgpack::object_handle oh =
|
msgpack::object_handle oh =
|
||||||
|
Reference in New Issue
Block a user