Remove warnings generated by GCC and Clang (#243)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2024-11-01 00:01:52 +01:00
committed by GitHub
parent ebe33017ad
commit 458ca09198
18 changed files with 123 additions and 91 deletions
+2 -2
View File
@@ -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,