mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
Avoid missing braces warning in serialization_construct_data_test
This commit is contained in:
@ -76,7 +76,7 @@ int main()
|
|||||||
{
|
{
|
||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
|
|
||||||
Y y1 = { X(7), X(11) };
|
Y y1 = {{ X(7), X(11) }};
|
||||||
|
|
||||||
{
|
{
|
||||||
boost::archive::text_oarchive ar( os );
|
boost::archive::text_oarchive ar( os );
|
||||||
@ -85,7 +85,7 @@ int main()
|
|||||||
|
|
||||||
std::string s = os.str();
|
std::string s = os.str();
|
||||||
|
|
||||||
Y y2 = { X(0), X(0) };
|
Y y2 = {{ X(0), X(0) }};
|
||||||
|
|
||||||
{
|
{
|
||||||
std::istringstream is( s );
|
std::istringstream is( s );
|
||||||
|
Reference in New Issue
Block a user