Skip to content

Commit 7a506c6

Browse files
committed
Compile conan test on std less than C++20
1 parent 9876f25 commit 7a506c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test_package/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ struct MyTestStruct
1010

1111
int main()
1212
{
13-
MyTestStruct person{.name="Jonh", .age=23};
13+
MyTestStruct person;
14+
person.name="Jonh";
15+
person.age=23;
1416

1517
std::string person_json = JS::serializeStruct(person);
1618
std::cout << person_json << std::endl;

0 commit comments

Comments
 (0)