Commit 7348c407 by Ivan Smirnov Committed by Jason Rhinelander

Fix -Wmissing-braces warning

parent 6906b270
...@@ -1256,7 +1256,7 @@ template <return_value_policy policy = return_value_policy::automatic_reference, ...@@ -1256,7 +1256,7 @@ template <return_value_policy policy = return_value_policy::automatic_reference,
#if defined(NDEBUG) #if defined(NDEBUG)
throw cast_error("make_tuple(): unable to convert arguments to Python object (compile in debug mode for details)"); throw cast_error("make_tuple(): unable to convert arguments to Python object (compile in debug mode for details)");
#else #else
std::array<std::string, size> argtypes { type_id<Args>()... }; std::array<std::string, size> argtypes { {type_id<Args>()...} };
throw cast_error("make_tuple(): unable to convert argument of type '" + throw cast_error("make_tuple(): unable to convert argument of type '" +
argtypes[i] + "' to Python object"); argtypes[i] + "' to Python object");
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment