mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-06 18:56:19 +08:00
Remove warnings generated by GCC and Clang (#243)
This commit is contained in:
@@ -37,8 +37,8 @@ struct Reflector<test_reflector_write::Parent> {
|
||||
namespace test_reflector_write {
|
||||
|
||||
TEST(json, test_reflector_write) {
|
||||
const auto homer =
|
||||
test_reflector_write::Parent{"Homer", "Simpson", {{"Bart", "Simpson"}, {"Lisa", "Simpson"}}};
|
||||
const auto homer = test_reflector_write::Parent{
|
||||
{"Homer", "Simpson"}, {{"Bart", "Simpson"}, {"Lisa", "Simpson"}}};
|
||||
|
||||
write(
|
||||
homer,
|
||||
|
||||
Reference in New Issue
Block a user