Skip to content

Commit a28c856

Browse files
Minor tweaks
1 parent a191994 commit a28c856

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

include/rfl/internal/is_default_val_v.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#include "../DefaultVal.hpp"
77
#include "../Rename.hpp"
8+
#include "StringLiteral.hpp"
89

910
namespace rfl::internal {
1011

tests/json/test_default_val.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ TEST(json, test_default_val) {
2929
EXPECT_EQ(homer.first_name, "Homer");
3030
EXPECT_EQ(homer.last_name.value(), "Simpson");
3131
EXPECT_EQ(homer.town.value(), "");
32+
EXPECT_EQ(homer.home_country().value(), "USA");
3233

3334
write_and_read(
3435
Person{"Waylon", "Smith", "Springfield"},

0 commit comments

Comments
 (0)