Skip to content

Commit 5ba22d8

Browse files
stefanhamburgerfredericDelaporte
authored andcommitted
Fix code sample in docs, section 10.4.2
1 parent 6b8c692 commit 5ba22d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/reference/modules/manipulating_data.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,7 @@ firstSession.Save(potentialMate);
529529
cat.Mate = potentialMate;
530530
531531
// later, in a new session
532-
secondSession.Update(cat); // update cat
533-
secondSession.Update(mate); // update mate]]></programlisting>
532+
secondSession.Update(cat); // update cat]]></programlisting>
534533

535534
<para>
536535
If the <literal>Cat</literal> with identifier <literal>catId</literal> had already

0 commit comments

Comments
 (0)