subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <>
Subject Re: Warnings from the bindings
Date Sat, 07 Apr 2018 19:20:54 GMT
Branko ─îibej <> writes:

> I'll take another look. At the very least this should be using the local
> frame manager object, which is exception-safe, unlike explicitly pushing
> and popping the frame.

ImmutableList::for_each iterates and constructs arbitrary types T.  The
problem occurs when T is ExternalItem as the constructor generates local
refs from the get_string_field and get_revision_field calls.  It's
possible that we should modify ExternalItem to avoid doing this, but
for_each should also work with arbitrary types and so for_each should
use a local frame.  I've comitted the for_each change.


View raw message