Skip to content

Commit 8a440aa

Browse files
BotellaAgithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent 1188da4 commit 8a440aa

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

include/geode/basic/cached_value.hpp

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,15 @@ namespace geode
8080
template < typename Archive >
8181
void serialize( Archive& archive )
8282
{
83-
archive.ext( *this, Growable< Archive, CachedValue >{
84-
{ []( Archive& a, CachedValue& value ) {
85-
a.value1b( value.computed_ );
86-
a( value.value_ );
87-
}, [] (Archive& /*a*/, CachedValue& /*value*/ )
88-
{
89-
// skip serialize
90-
} } } );
83+
archive.ext(
84+
*this, Growable< Archive, CachedValue >{
85+
{ []( Archive& a, CachedValue& value ) {
86+
a.value1b( value.computed_ );
87+
a( value.value_ );
88+
},
89+
[]( Archive& /*a*/, CachedValue& /*value*/ ) {
90+
// skip serialize
91+
} } } );
9192
}
9293

9394
private:

0 commit comments

Comments
 (0)