From 01132fefd91bcebccc00cd5df406c812fd7b1368 Mon Sep 17 00:00:00 2001 From: Jacyking <43704572+Jacyking@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:53:12 +0800 Subject: [PATCH 1/2] Update test_ormpp.cpp --- tests/test_ormpp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_ormpp.cpp b/tests/test_ormpp.cpp index df3f9e12..94b781e7 100644 --- a/tests/test_ormpp.cpp +++ b/tests/test_ormpp.cpp @@ -30,9 +30,9 @@ const char *username = "root"; const char *db = "test_ormppdb"; struct person { - int id; std::string name; int age; + int id; }; REFLECTION(person, id, name, age) @@ -1137,4 +1137,4 @@ TEST_CASE("alias") { CHECK(vec.front().name == "purecpp"); } #endif -} \ No newline at end of file +} From 2e31518fada28d588da596813ab0d9a355d4fc32 Mon Sep 17 00:00:00 2001 From: Jacyking <43704572+Jacyking@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:57:05 +0800 Subject: [PATCH 2/2] Update test_ormpp.cpp --- tests/test_ormpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ormpp.cpp b/tests/test_ormpp.cpp index 94b781e7..13c3795c 100644 --- a/tests/test_ormpp.cpp +++ b/tests/test_ormpp.cpp @@ -30,9 +30,9 @@ const char *username = "root"; const char *db = "test_ormppdb"; struct person { + int id; std::string name; int age; - int id; }; REFLECTION(person, id, name, age)