@@ -50,12 +50,14 @@ void Record::flush_impl(
50
50
{
51
51
if (scalar ())
52
52
{
53
- T_RecordComponent::flush (SCALAR, flushParams);
53
+ T_RecordComponent::flush (
54
+ SCALAR, flushParams, /* is_scalar = */ true );
54
55
}
55
56
else
56
57
{
57
58
for (auto &comp : *this )
58
- comp.second .flush (comp.first , flushParams);
59
+ comp.second .flush (
60
+ comp.first , flushParams, /* is_scalar = */ false );
59
61
}
60
62
}
61
63
else
@@ -65,7 +67,7 @@ void Record::flush_impl(
65
67
if (scalar ())
66
68
{
67
69
RecordComponent &rc = *this ;
68
- rc.flush (name, flushParams);
70
+ rc.flush (name, flushParams, /* is_scalar = */ true );
69
71
}
70
72
else
71
73
{
@@ -75,7 +77,8 @@ void Record::flush_impl(
75
77
for (auto &comp : *this )
76
78
{
77
79
comp.second .parent () = getWritable (this );
78
- comp.second .flush (comp.first , flushParams);
80
+ comp.second .flush (
81
+ comp.first , flushParams, /* is_scalar = */ false );
79
82
}
80
83
}
81
84
}
@@ -84,12 +87,14 @@ void Record::flush_impl(
84
87
85
88
if (scalar ())
86
89
{
87
- T_RecordComponent::flush (name, flushParams);
90
+ T_RecordComponent::flush (
91
+ name, flushParams, /* is_scalar = */ true );
88
92
}
89
93
else
90
94
{
91
95
for (auto &comp : *this )
92
- comp.second .flush (comp.first , flushParams);
96
+ comp.second .flush (
97
+ comp.first , flushParams, /* is_scalar = */ false );
93
98
}
94
99
}
95
100
0 commit comments